content: Fix GO_VERSION in Netlify hosting example

This commit is contained in:
Andreas Deininger
2025-05-05 17:20:04 +02:00
committed by GitHub
parent 8cc589c3a1
commit 722da91f15
6 changed files with 16 additions and 16 deletions
+4 -4
View File
@@ -141,8 +141,8 @@ To install Dart Sass for your builds on GitLab Pages, the `.gitlab-ci.yml` file
```yaml
variables:
HUGO_VERSION: 0.144.2
DART_SASS_VERSION: 1.85.0
HUGO_VERSION: 0.147.1
DART_SASS_VERSION: 1.87.0
GIT_DEPTH: 0
GIT_STRATEGY: clone
GIT_SUBMODULE_STRATEGY: recursive
@@ -175,8 +175,8 @@ To install Dart Sass for your builds on Netlify, the `netlify.toml` file should
```toml
[build.environment]
HUGO_VERSION = "0.144.2"
DART_SASS_VERSION = "1.85.0"
HUGO_VERSION = "0.147.1"
DART_SASS_VERSION = "1.87.0"
NODE_VERSION = "22"
TZ = "America/Los_Angeles"
+3 -3
View File
@@ -22,9 +22,9 @@ Let's say you need to publish a file named "site.json" in the root of your `publ
```json
{
"build_date": "2025-01-16T19:14:41-08:00",
"hugo_version": "0.141.0",
"last_modified": "2025-01-16T19:14:46-08:00"
"build_date": "2025-05-03T19:14:41-08:00",
"hugo_version": "0.147.1",
"last_modified": "2025-05-03T19:14:46-08:00"
}
```
@@ -44,9 +44,9 @@ version: 1
env:
variables:
# Application versions
DART_SASS_VERSION: 1.85.0
GO_VERSION: 1.23.3
HUGO_VERSION: 0.144.2
DART_SASS_VERSION: 1.87.0
GO_VERSION: 1.24.2
HUGO_VERSION: 0.147.1
# Time zone
TZ: America/Los_Angeles
# Cache
@@ -107,7 +107,7 @@ jobs:
build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.145.0
HUGO_VERSION: 0.147.1
HUGO_ENVIRONMENT: production
TZ: America/Los_Angeles
steps:
@@ -27,7 +27,7 @@ variables:
GIT_DEPTH: 0
GIT_STRATEGY: clone
GIT_SUBMODULE_STRATEGY: recursive
HUGO_VERSION: 0.146.7
HUGO_VERSION: 0.147.1
NODE_VERSION: 22.x
TZ: America/Los_Angeles
image:
@@ -113,8 +113,8 @@ Create a new file named netlify.toml in the root of your project directory. In i
```toml {file="netlify.toml"}
[build.environment]
GO_VERSION = "1.24"
HUGO_VERSION = "0.146.7"
GO_VERSION = "1.24.2"
HUGO_VERSION = "0.147.1"
NODE_VERSION = "22"
TZ = "America/Los_Angeles"
@@ -128,8 +128,8 @@ If your site requires Dart Sass to transpile Sass to CSS, the configuration file
```toml {file="netlify.toml"}
[build.environment]
DART_SASS_VERSION = "1.87.0"
GO_VERSION = "1.24"
HUGO_VERSION = "0.146.7"
GO_VERSION = "1.24.2"
HUGO_VERSION = "0.147.1"
NODE_VERSION = "22"
TZ = "America/Los_Angeles"