diff --git a/.drone.yml b/.drone.yml index 717db5a..8259914 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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