Fix: use correct image tag for Hugo build

This commit is contained in:
2026-03-09 05:41:19 +00:00
parent 74b5c2ea60
commit a7039dc0f5

View File

@@ -3,8 +3,8 @@ variables:
GIT_SUBMODULE_STRATEGY: recursive
pages:
# This image is compatible with GitLab's shell-based runners
image: registry.gitlab.com/pages/hugo/hugo_extended:latest
# The new official standard image for Hugo extended
image: hugomods/hugo:exts
script:
- hugo version
- hugo
@@ -12,4 +12,4 @@ pages:
paths:
- public
rules:
- if: $CI_COMMIT_BRANCH == "master"
- if: $CI_COMMIT_BRANCH == $CI_COMMIT_REF_NAME