Update drone.yml #264

Merged
Vylpes merged 1 commit from feature/263-drone-stuck into develop 2023-02-03 17:55:38 +00:00

View file

@ -1,44 +1,38 @@
--- ---
kind: pipeline kind: pipeline
type: ssh
name: deployment name: deployment
server: image: appleboy/drone-ssh
settings:
host: 192.168.68.121 host: 192.168.68.121
user: vylpes username: vylpes
password: password:
from_secret: ssh_password from_secret: ssh_password
port: 22
steps: script:
- name: deploy - sh /home/vylpes/scripts/vylbot/deploy_prod.sh
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
server: image: appleboy/drone-ssh
settings:
host: 192.168.68.121 host: 192.168.68.121
user: vylpes username: vylpes
password: password:
from_secret: ssh_password from_secret: ssh_password
port: 22
steps: script:
- name: deploy - sh /home/vylpes/scripts/vylbot/deploy_stage.sh
commands:
- sh /home/vylpes/scripts/vylbot/deploy_stage.sh
trigger: trigger:
branch: branch: