Fix CI for merge requestes

This commit is contained in:
klmp200 2018-07-24 02:49:26 +02:00
parent 1465556c9a
commit 3170df3f43
No known key found for this signature in database
GPG Key ID: E7245548C53F904B
1 changed files with 3 additions and 1 deletions

View File

@ -19,6 +19,7 @@ pipeline:
secrets: [ docker_username, docker_password ]
when:
branch: master
event: push
deploy:
image: appleboy/drone-ssh
host:
@ -30,3 +31,4 @@ pipeline:
- echo $SSH_PASSWORD | sudo -S systemctl restart alfred-bot
when:
branch: master
event: push