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
|
- 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
|
||||||
|
|
Loading…
Reference in New Issue