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
|
kind: pipeline
|
||||||
|
type: ssh
|
||||||
name: deployment
|
name: deployment
|
||||||
|
|
||||||
image: appleboy/drone-ssh
|
server:
|
||||||
settings:
|
|
||||||
host: 192.168.68.121
|
host: 192.168.68.121
|
||||||
username: vylpes
|
user: vylpes
|
||||||
password:
|
password:
|
||||||
from_secret: ssh_password
|
from_secret: ssh_password
|
||||||
port: 22
|
|
||||||
script:
|
steps:
|
||||||
|
- name: deploy
|
||||||
|
commands:
|
||||||
- sh /home/vylpes/scripts/vylbot/deploy_prod.sh
|
- sh /home/vylpes/scripts/vylbot/deploy_prod.sh
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
|
@ -18,20 +20,24 @@ trigger:
|
||||||
- main
|
- main
|
||||||
event:
|
event:
|
||||||
- promote
|
- promote
|
||||||
|
target:
|
||||||
|
- production
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
|
type: ssh
|
||||||
name: staging
|
name: staging
|
||||||
|
|
||||||
image: appleboy/drone-ssh
|
server:
|
||||||
settings:
|
|
||||||
host: 192.168.68.121
|
host: 192.168.68.121
|
||||||
username: vylpes
|
user: vylpes
|
||||||
password:
|
password:
|
||||||
from_secret: ssh_password
|
from_secret: ssh_password
|
||||||
port: 22
|
|
||||||
script:
|
steps:
|
||||||
|
- name: deploy
|
||||||
|
commands:
|
||||||
- sh /home/vylpes/scripts/vylbot/deploy_stage.sh
|
- sh /home/vylpes/scripts/vylbot/deploy_stage.sh
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
|
|
Loading…
Reference in a new issue