Only build site when branch is master and event is pull
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
080b9b5baa
commit
e3569c5817
|
@ -14,6 +14,11 @@ steps:
|
|||
- apk add --no-cache hugo
|
||||
- hugo
|
||||
- cp -r public/* /var/www/html
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
branch:
|
||||
- master
|
||||
|
||||
volumes:
|
||||
- name: site
|
||||
|
|
Loading…
Reference in New Issue