Compare commits
No commits in common. "b64ddacb41def10bdd050beac8ee72ce72fcc340" and "1c3ba40b56aeb6b7191af2dae5c9251dfd3c67f6" have entirely different histories.
b64ddacb41
...
1c3ba40b56
1 changed files with 18 additions and 12 deletions
30
.drone.yml
30
.drone.yml
|
@ -1,38 +1,44 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
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:
|
||||||
- sh /home/vylpes/scripts/vylbot/deploy_prod.sh
|
- name: deploy
|
||||||
|
commands:
|
||||||
|
- sh /home/vylpes/scripts/vylbot/deploy_prod.sh
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- 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:
|
||||||
- sh /home/vylpes/scripts/vylbot/deploy_stage.sh
|
- name: deploy
|
||||||
|
commands:
|
||||||
|
- sh /home/vylpes/scripts/vylbot/deploy_stage.sh
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
|
|
Loading…
Reference in a new issue