Add drone yaml for only publishing main
This commit is contained in:
parent
b416bb9753
commit
37dcb7eabb
|
@ -4,6 +4,9 @@ name: update_website
|
||||||
steps:
|
steps:
|
||||||
- name: hugo_build
|
- name: hugo_build
|
||||||
image: alombarte/hugo
|
image: alombarte/hugo
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
commands:
|
commands:
|
||||||
- git submodule init
|
- git submodule init
|
||||||
- git submodule update
|
- git submodule update
|
||||||
|
|
Loading…
Reference in New Issue