Update drone.yml #265

Merged
Vylpes merged 2 commits from feature/263-drone-stuck into develop 2023-02-03 18:02:53 +00:00

View file

@ -3,15 +3,17 @@
kind: pipeline kind: pipeline
name: deployment name: deployment
image: appleboy/drone-ssh steps:
settings: - name: deploy
host: 192.168.68.121 image: appleboy/drone-ssh
username: vylpes settings:
password: host: 192.168.68.121
from_secret: ssh_password username: vylpes
port: 22 password:
script: from_secret: ssh_password
- sh /home/vylpes/scripts/vylbot/deploy_prod.sh port: 22
script:
- sh /home/vylpes/scripts/vylbot/deploy_prod.sh
trigger: trigger:
branch: branch:
@ -24,15 +26,17 @@ trigger:
kind: pipeline kind: pipeline
name: staging name: staging
image: appleboy/drone-ssh steps:
settings: - name: stage
host: 192.168.68.121 image: appleboy/drone-ssh
username: vylpes settings:
password: host: 192.168.68.121
from_secret: ssh_password username: vylpes
port: 22 password:
script: from_secret: ssh_password
- sh /home/vylpes/scripts/vylbot/deploy_stage.sh port: 22
script:
- sh /home/vylpes/scripts/vylbot/deploy_stage.sh
trigger: trigger:
branch: branch: