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:
|
||||
HUGO_ENV: production
|
||||
# Blowfish often requires submodules, so we ensure they are fetched
|
||||
GIT_SUBMODULE_STRATEGY: recursive
|
||||
|
||||
pages:
|
||||
# This image is compatible with GitLab's shell-based runners
|
||||
image: registry.gitlab.com/pages/hugo/hugo_extended:latest
|
||||
script:
|
||||
- hugo version
|
||||
- hugo
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == $CI_COMMIT_REF_NAME
|
||||
- if: $CI_COMMIT_BRANCH == "master"
|
||||
Reference in New Issue
Block a user