Compare commits

...

2 commits

Author SHA1 Message Date
b64ddacb41 Merge pull request 'Update drone.yml' (#264) 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/264
2023-02-03 17:55:37 +00:00
f5f87a52dc Update drone.yml
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2023-02-03 17:55:10 +00:00

View file

@ -1,44 +1,38 @@
---
kind: pipeline
type: ssh
name: deployment
server:
image: appleboy/drone-ssh
settings:
host: 192.168.68.121
user: vylpes
username: vylpes
password:
from_secret: ssh_password
steps:
- name: deploy
commands:
- sh /home/vylpes/scripts/vylbot/deploy_prod.sh
port: 22
script:
- sh /home/vylpes/scripts/vylbot/deploy_prod.sh
trigger:
branch:
- main
event:
- promote
target:
- production
---
kind: pipeline
type: ssh
name: staging
server:
image: appleboy/drone-ssh
settings:
host: 192.168.68.121
user: vylpes
username: vylpes
password:
from_secret: ssh_password
steps:
- name: deploy
commands:
- sh /home/vylpes/scripts/vylbot/deploy_stage.sh
port: 22
script:
- sh /home/vylpes/scripts/vylbot/deploy_stage.sh
trigger:
branch: