Use triggers syntax
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Luke Murphy 2020-04-08 18:40:20 +02:00
parent dcb3ada610
commit da3a3a989c
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -11,8 +11,9 @@ steps:
path: /var/run/docker.sock
commands:
- docker build --no-cache -t autonomic/autonomic.zone:drone .
when:
branch: master
trigger:
branch:
- master
- name: Deploy Autonomic.zone with Dokku
image: appleboy/drone-git-push:0.2.0-linux-amd64
@ -20,5 +21,6 @@ steps:
remote: ssh://dokku@dokku.autonomic.zone:222/autonomic.zone
ssh_key:
from_secret: drone_deploy_key
when:
branch: master
trigger:
branch:
- master