Only build things on master

This commit is contained in:
Luke Murphy 2020-04-08 18:36:07 +02:00
parent 5a8abd8d2b
commit 489315eb60
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -11,6 +11,8 @@ steps:
path: /var/run/docker.sock path: /var/run/docker.sock
commands: commands:
- docker build --no-cache -t autonomic/autonomic.zone:drone . - docker build --no-cache -t autonomic/autonomic.zone:drone .
when:
branch: master
- name: Deploy Autonomic.zone with Dokku - name: Deploy Autonomic.zone with Dokku
image: appleboy/drone-git-push:0.2.0-linux-amd64 image: appleboy/drone-git-push:0.2.0-linux-amd64