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