Merge pull request 'Update drone.yml' (#265) from feature/263-drone-stuck into develop
Some checks failed
continuous-integration/drone/push Build is failing

Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/vylbot-app/pulls/265
This commit is contained in:
Vylpes 2023-02-03 18:02:52 +00:00
commit fc7c9ef02c

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: