Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
c1f836579c | |||
eb72a2b304 |
@ -1,9 +1,9 @@
|
||||
# builder
|
||||
FROM hugomods/hugo:base-non-root AS builder
|
||||
ARG BASE_URL ""
|
||||
# --chown is required since kaniko in woodpecker otherwise copies as root and
|
||||
# the hugo command below fails since it is executed as hugo
|
||||
COPY --chown=hugo:hugo content/ /src
|
||||
RUN id
|
||||
RUN ls -la /src
|
||||
RUN if [ "$BASE_URL" = ""]; then hugo; else hugo -b $BASE_URL; fi
|
||||
|
||||
# server
|
||||
|
@ -1,5 +1,5 @@
|
||||
+++
|
||||
date = '2025-01-12T19:33:39+01:00'
|
||||
draft = true
|
||||
draft = false
|
||||
title = 'Test06'
|
||||
+++
|
||||
|
@ -1,6 +1,6 @@
|
||||
baseURL = 'https://example.org/'
|
||||
languageCode = 'en-us'
|
||||
title = 'Minimal Setups'
|
||||
title = 'Minimal Setups {{ getenv "HUGO_RELEASETAG }}'
|
||||
theme = "ananke"
|
||||
sectionPagesMenu = "main"
|
||||
|
||||
|
Reference in New Issue
Block a user