mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-08 15:54:38 -04:00
Update GitHub hosting workflow example
This commit is contained in:
parent
dee99c36a6
commit
0c31a4b45e
@ -99,7 +99,7 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
HUGO_VERSION: 0.120.2
|
||||
HUGO_VERSION: 0.120.4
|
||||
steps:
|
||||
- name: Install Hugo CLI
|
||||
run: |
|
||||
@ -114,7 +114,7 @@ jobs:
|
||||
fetch-depth: 0
|
||||
- name: Setup Pages
|
||||
id: pages
|
||||
uses: actions/configure-pages@v3
|
||||
uses: actions/configure-pages@v4
|
||||
- name: Install Node.js dependencies
|
||||
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
|
||||
- name: Build with Hugo
|
||||
@ -142,7 +142,7 @@ jobs:
|
||||
steps:
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v2
|
||||
uses: actions/deploy-pages@v3
|
||||
{{< /code >}}
|
||||
|
||||
Step 7
|
||||
|
Loading…
x
Reference in New Issue
Block a user