drone deploy for dev
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Aaron Riedel 2022-07-03 03:24:56 +02:00
parent 6e35a7c32b
commit 0f9179d3ec
Signed by: aaron
GPG key ID: 643004654D40D577

View file

@ -69,4 +69,22 @@ steps:
event:
include:
- push
# test
- name: deploy dev
image: appleboy/drone-ssh
settings:
host:
- s.ar21.de
username: root
key:
from_secret: DEPLOY_SSH_KEY
port: 22
command_timeout: 2m
script:
- cd /root && docker-compose -f shbot-dev.yaml pull shbot-dev && docker-compose -f shbot-dev.yaml up -d shbot-dev
when:
branch:
include:
- dev
event:
include:
- push