This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user