File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
content/en/hosting-and-deployment Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -27,16 +27,15 @@ Define your [CI/CD](https://docs.gitlab.com/ee/ci/quick_start/) jobs by creating
2727
2828{{< code file=.gitlab-ci.yml copy=true >}}
2929variables:
30- DART_SASS_VERSION: 1.80.6
31- HUGO_VERSION: 0.137.1
32- NODE_VERSION: 20.x
30+ DART_SASS_VERSION: 1.81.1
3331 GIT_DEPTH: 0
3432 GIT_STRATEGY: clone
3533 GIT_SUBMODULE_STRATEGY: recursive
34+ HUGO_VERSION: 0.140.2
35+ NODE_VERSION: 23.x
3636 TZ: America/Los_Angeles
37-
3837image:
39- name: golang:1.22.1 -bookworm
38+ name: golang:1.23.4 -bookworm
4039
4140pages:
4241 script:
5958 # Install Node.js dependencies
6059 - "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
6160 # Build
62- - hugo --gc --minify
61+ - hugo --gc --minify --baseURL ${CI_PAGES_URL}
6362 # Compress
6463 - find public -type f -regex '.* \.\( css\| html\| js\| txt\| xml\) $' -exec gzip -f -k {} \;
6564 - find public -type f -regex '.* \.\( css\| html\| js\| txt\| xml\) $' -exec brotli -f -k {} \;
You can’t perform that action at this time.
0 commit comments