📦️ Drone CI volumes
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Sivert V. Sæther 2023-02-06 04:50:09 +00:00
parent 524b7f91e1
commit 78cd11b00f

View File

@ -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