This commit is contained in:
parent
524b7f91e1
commit
78cd11b00f
13
.drone.yml
13
.drone.yml
@ -6,17 +6,28 @@ name: build and publish
|
|||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: registry.42069.no/build/hugo
|
image: registry.42069.no/build/hugo
|
||||||
|
volumes:
|
||||||
|
- name: public
|
||||||
|
path: /work/public
|
||||||
commands:
|
commands:
|
||||||
- hugo -e prod --printI18nWarnings --printPathWarnings --printUnusedTemplates --templateMetricsHints
|
- hugo -e prod --printI18nWarnings --printPathWarnings --printUnusedTemplates --templateMetricsHints
|
||||||
|
|
||||||
- name: publish
|
- name: publish
|
||||||
image: plugins/gh-pages
|
image: plugins/gh-pages
|
||||||
|
volumes:
|
||||||
|
- name: public
|
||||||
|
path: /public
|
||||||
settings:
|
settings:
|
||||||
pages_directory: public/
|
pages_directory: /public
|
||||||
|
target_branch: master
|
||||||
username: Ghost-Zephyr
|
username: Ghost-Zephyr
|
||||||
password:
|
password:
|
||||||
from_secret: password
|
from_secret: password
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: public
|
||||||
|
temp: {}
|
||||||
|
|
||||||
image_pull_secrets:
|
image_pull_secrets:
|
||||||
- registry
|
- registry
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user