Fix: use correct image tag for Hugo build
This commit is contained in:
@@ -1,16 +1,15 @@
|
|||||||
# Use a specific version tag to bypass 'latest' caching issues
|
|
||||||
image: klakegg/hugo:ext-alpine
|
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
HUGO_ENV: production
|
HUGO_ENV: production
|
||||||
# Blowfish often requires submodules, so we ensure they are fetched
|
|
||||||
GIT_SUBMODULE_STRATEGY: recursive
|
GIT_SUBMODULE_STRATEGY: recursive
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
|
# This image is compatible with GitLab's shell-based runners
|
||||||
|
image: registry.gitlab.com/pages/hugo/hugo_extended:latest
|
||||||
script:
|
script:
|
||||||
|
- hugo version
|
||||||
- hugo
|
- hugo
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH == $CI_COMMIT_REF_NAME
|
- if: $CI_COMMIT_BRANCH == "master"
|
||||||
Reference in New Issue
Block a user