Fix
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Sivert V. Sæther 2023-02-06 05:11:18 +00:00
parent 5217ce85a3
commit 59fad6234f

View File

@ -3,11 +3,13 @@ kind: pipeline
type: docker type: docker
name: build and publish name: build and publish
image: registry.42069.no/build/hugo steps:
environment: - name: build and publish
image: registry.42069.no/build/hugo
environment:
KEY: KEY:
from_secret: key from_secret: key
commands: commands:
- mkdir ~/.ssh && echo "$KEY" > ~/.ssh/id_rsa && chmod 600 -R ~/.ssh - mkdir ~/.ssh && echo "$KEY" > ~/.ssh/id_rsa && chmod 600 -R ~/.ssh
- hugo -e prod --printI18nWarnings --printPathWarnings --printUnusedTemplates --templateMetricsHints - hugo -e prod --printI18nWarnings --printPathWarnings --printUnusedTemplates --templateMetricsHints
- git clone --branch gh-pages git@github.com:Ghost-Zephyr/Ghost-Zephyr.github.io.git github - git clone --branch gh-pages git@github.com:Ghost-Zephyr/Ghost-Zephyr.github.io.git github