Use officially recommended Hugo docker image in CI pipeline
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
0b3aa87afd
commit
5911f336da
12
.drone.yml
12
.drone.yml
|
@ -6,19 +6,15 @@ name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: plugins/hugo
|
image: klakegg/hugo:ci
|
||||||
settings: &build-settings
|
|
||||||
extended: yes
|
|
||||||
validate: yes
|
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- live
|
- live
|
||||||
|
|
||||||
- name: build-staging
|
- name: build-staging
|
||||||
image: plugins/hugo
|
image: klakegg/hugo:ci
|
||||||
settings:
|
commands:
|
||||||
<<: *build-settings
|
- hugo --baseURL="https://staging.www.iger.events/"
|
||||||
url: https://staging.www.iger.events/
|
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
exclude:
|
exclude:
|
||||||
|
|
Loading…
Reference in New Issue