This commit is contained in:
parent
7ddd0466cc
commit
2871751bdd
@ -5,7 +5,7 @@ ARG RELEASETAG "unset"
|
||||
# --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 sed -i 's/%RELEASETAG%/'${RELEASETAG}'/' /src/content/about.md
|
||||
RUN sed -i 's/%RELEASETAG%/'${RELEASETAG}'/' /src/layouts/partials/releasetag.html
|
||||
RUN if [ "$BASE_URL" = ""]; then hugo; else hugo -b $BASE_URL; fi
|
||||
|
||||
# server
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "About"
|
||||
---
|
||||
## About
|
||||
|
||||
|
||||
|
||||
@ -9,4 +8,3 @@ title: "About"
|
||||
|
||||
|
||||
|
||||
`ReleaseTag = %RELEASETAG%`
|
||||
|
@ -1,4 +1,5 @@
|
||||
baseURL: "https://minimal-setups.de"
|
||||
releaseTag: "%RELEASETAG%"
|
||||
languageCode: "en-us"
|
||||
title: "Minimal Setups"
|
||||
theme: "ananke"
|
||||
|
1
content/layouts/partials/releasetag.html
Normal file
1
content/layouts/partials/releasetag.html
Normal file
@ -0,0 +1 @@
|
||||
<pre>%RELEASETAG%</pre>
|
@ -1 +1 @@
|
||||
Subproject commit 8d3354eb1f2e9c6b835744b60cba0ed9ed58591e
|
||||
Subproject commit 650a8eaaaff96e75709ef4abaa1d951bf48f7902
|
Loading…
x
Reference in New Issue
Block a user