Compare commits
No commits in common. "b64ddacb41def10bdd050beac8ee72ce72fcc340" and "1c3ba40b56aeb6b7191af2dae5c9251dfd3c67f6" have entirely different histories.
b64ddacb41
...
1c3ba40b56
1 changed files with 18 additions and 12 deletions
26
.drone.yml
26
.drone.yml
|
@ -1,16 +1,18 @@
|
|||
---
|
||||
|
||||
kind: pipeline
|
||||
type: ssh
|
||||
name: deployment
|
||||
|
||||
image: appleboy/drone-ssh
|
||||
settings:
|
||||
server:
|
||||
host: 192.168.68.121
|
||||
username: vylpes
|
||||
user: vylpes
|
||||
password:
|
||||
from_secret: ssh_password
|
||||
port: 22
|
||||
script:
|
||||
|
||||
steps:
|
||||
- name: deploy
|
||||
commands:
|
||||
- sh /home/vylpes/scripts/vylbot/deploy_prod.sh
|
||||
|
||||
trigger:
|
||||
|
@ -18,20 +20,24 @@ trigger:
|
|||
- main
|
||||
event:
|
||||
- promote
|
||||
target:
|
||||
- production
|
||||
|
||||
---
|
||||
|
||||
kind: pipeline
|
||||
type: ssh
|
||||
name: staging
|
||||
|
||||
image: appleboy/drone-ssh
|
||||
settings:
|
||||
server:
|
||||
host: 192.168.68.121
|
||||
username: vylpes
|
||||
user: vylpes
|
||||
password:
|
||||
from_secret: ssh_password
|
||||
port: 22
|
||||
script:
|
||||
|
||||
steps:
|
||||
- name: deploy
|
||||
commands:
|
||||
- sh /home/vylpes/scripts/vylbot/deploy_stage.sh
|
||||
|
||||
trigger:
|
||||
|
|
Loading…
Reference in a new issue