This commit is contained in:
parent
6e35a7c32b
commit
0f9179d3ec
1 changed files with 19 additions and 1 deletions
20
.drone.yml
20
.drone.yml
|
@ -69,4 +69,22 @@ steps:
|
||||||
event:
|
event:
|
||||||
include:
|
include:
|
||||||
- push
|
- 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
|
Loading…
Reference in a new issue