Fix build
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Hannes Körber 2023-10-12 17:39:09 +02:00
parent 7411bfccbd
commit 2187e70a6a
2 changed files with 6 additions and 2 deletions

View File

@ -54,6 +54,8 @@ steps:
repo: blog
tags:
- ${DRONE_COMMIT_SHA}
environment:
container: docker
- name: preview:image
image: registry.hkoerber.de/drone-kaniko:latest
@ -66,6 +68,8 @@ steps:
repo: blog
tags:
- ${DRONE_COMMIT_SHA}-preview
environment:
container: docker
- name: production:update k8s
image: alpine/git

View File

@ -10,7 +10,7 @@ build-production:
--net host \
-v $(PWD):/workdir \
-w /workdir \
registry.hkoerber.de/hugo:f216de6b127620641bcaf1d28fe16bf1ea2db884 \
registry.hkoerber.de/hugo:latest \
/app/bin/hugo \
--baseURL=https://hkoerber.de/ \
--cleanDestinationDir \
@ -44,7 +44,7 @@ preview:
--net host \
-v $(PWD):/workdir \
-w /workdir \
registry.hkoerber.de/hugo:f000054616d7789202b06872a6535bcb9fd500c9 \
registry.hkoerber.de/hugo:latest \
hugo serve \
--watch \
--buildDrafts