Only build site when branch is master and event is pull
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luca 2020-10-09 21:09:48 +02:00
parent 080b9b5baa
commit e3569c5817
1 changed files with 5 additions and 0 deletions

View File

@ -14,6 +14,11 @@ steps:
- apk add --no-cache hugo - apk add --no-cache hugo
- hugo - hugo
- cp -r public/* /var/www/html - cp -r public/* /var/www/html
when:
event:
- push
branch:
- master
volumes: volumes:
- name: site - name: site