Avoid publish and deploy on merge requests #3

Merged
klmp200 merged 1 commits from test into master 2018-07-24 00:58:22 +00:00
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:
@ -29,4 +30,5 @@ pipeline:
script:
- echo $SSH_PASSWORD | sudo -S systemctl restart alfred-bot
when:
branch: master
branch: master
event: push