You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: userguide/content/en/docs/deployment/_index.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,11 +45,11 @@ Then follow the instructions in [Host on Netlify](https://gohugo.io/hosting-and-
45
45
* If you are using Docsy as a [Hugo module](/docs/get-started/docsy-as-module/) or NPM package, you can just specify `hugo`.
46
46
3. Click **Show advanced**.
47
47
4. In the **Advanced build settings** section, click **New variable**.
48
-
5. Specify `NODE_VERSION` as the **Key** for the new variable, and set its **Value** to the [latest LTS version](https://nodejs.org/en/download/) of node.js (minimum recommended version: `v18.x`).
48
+
5. Specify `NODE_VERSION` as the **Key** for the new variable, and set its **Value** to the [latest LTS version](https://nodejs.org/en/download/) of node.js (minimum recommended version: `v20.x`).
49
49
6. In the **Advanced build settings** section, click **New variable**.
50
-
7. Specify `HUGO_VERSION` as the **Key** for the new variable, and set its **Value** to the [latest version](https://github.com/gohugoio/hugo/releases) of Hugo (minimum recommended version: `0.110.0`).
50
+
7. Specify `HUGO_VERSION` as the **Key** for the new variable, and set its **Value** to the [latest version](https://github.com/gohugoio/hugo/releases) of Hugo (minimum recommended version: `0.125.4`).
51
51
8. In the **Advanced build settings** section, click **New variable** again.
52
-
9. Specify `GO_VERSION` as the **Key** for the new variable, and set its **Value** to the [latest version](https://go.dev/dl/) of Go (minimum recommended version: `1.18`).
52
+
9. Specify `GO_VERSION` as the **Key** for the new variable, and set its **Value** to the [latest version](https://go.dev/dl/) of Go (minimum recommended version: `1.21`).
53
53
54
54
If you don't want your site to be indexed by search engines, you can add an environment flag to your build command to specify a non-`production` environment, as described in [Build environments and indexing](#build-environments-and-indexing).
55
55
1. Click **Deploy site**.
@@ -61,9 +61,9 @@ For example, if you want to use a version of `postcss-cli` later than version 8.
61
61
62
62
```
63
63
"devDependencies": {
64
-
"autoprefixer": "^10.4.14",
65
-
"postcss-cli": "^10.1.0",
66
-
"postcss": "^8.4.24"
64
+
"autoprefixer": "^10.4.19",
65
+
"postcss-cli": "^11.0.0",
66
+
"postcss": "^8.4.38"
67
67
}
68
68
```
69
69
@@ -141,14 +141,14 @@ Make sure to correctly set your site's `baseURL`, either via hugo's `--baseURL '
141
141
concurrency:
142
142
group: ${{ github.workflow }}-${{ github.ref }}
143
143
steps:
144
-
- uses: actions/checkout@v3
144
+
- uses: actions/checkout@v4
145
145
with:
146
146
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
147
147
148
148
- name: Setup Hugo
149
-
uses: peaceiris/actions-hugo@v2
149
+
uses: peaceiris/actions-hugo@v3
150
150
with:
151
-
hugo-version: '0.120.4'
151
+
hugo-version: '0.125.5'
152
152
extended: true
153
153
154
154
- name: Setup Node
@@ -162,7 +162,7 @@ Make sure to correctly set your site's `baseURL`, either via hugo's `--baseURL '
162
162
- run: hugo --baseURL https://${REPO_OWNER}.github.io/${REPO_NAME} --minify
163
163
164
164
- name: Deploy
165
-
uses: peaceiris/actions-gh-pages@v3
165
+
uses: peaceiris/actions-gh-pages@v4
166
166
if: ${{ github.ref == 'refs/heads/main' }} # <-- specify same branch as above here
0 commit comments