Skip to content

Commit d59dd47

Browse files
committed
Bring all versions up to date, rebase
1 parent 35fce97 commit d59dd47

File tree

1 file changed

+10
-10
lines changed
  • userguide/content/en/docs/deployment

1 file changed

+10
-10
lines changed

userguide/content/en/docs/deployment/_index.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ Then follow the instructions in [Host on Netlify](https://gohugo.io/hosting-and-
4545
* If you are using Docsy as a [Hugo module](/docs/get-started/docsy-as-module/) or NPM package, you can just specify `hugo`.
4646
3. Click **Show advanced**.
4747
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`).
4949
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`).
5151
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`).
5353

5454
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).
5555
1. Click **Deploy site**.
@@ -61,9 +61,9 @@ For example, if you want to use a version of `postcss-cli` later than version 8.
6161

6262
```
6363
"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"
6767
}
6868
```
6969

@@ -141,14 +141,14 @@ Make sure to correctly set your site's `baseURL`, either via hugo's `--baseURL '
141141
concurrency:
142142
group: ${{ github.workflow }}-${{ github.ref }}
143143
steps:
144-
- uses: actions/checkout@v3
144+
- uses: actions/checkout@v4
145145
with:
146146
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
147147

148148
- name: Setup Hugo
149-
uses: peaceiris/actions-hugo@v2
149+
uses: peaceiris/actions-hugo@v3
150150
with:
151-
hugo-version: '0.120.4'
151+
hugo-version: '0.125.5'
152152
extended: true
153153

154154
- name: Setup Node
@@ -162,7 +162,7 @@ Make sure to correctly set your site's `baseURL`, either via hugo's `--baseURL '
162162
- run: hugo --baseURL https://${REPO_OWNER}.github.io/${REPO_NAME} --minify
163163

164164
- name: Deploy
165-
uses: peaceiris/actions-gh-pages@v3
165+
uses: peaceiris/actions-gh-pages@v4
166166
if: ${{ github.ref == 'refs/heads/main' }} # <-- specify same branch as above here
167167
with:
168168
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)