Update GitHub hosting workflow example

This commit is contained in:
Joe Mooring 2023-12-04 21:45:43 -08:00 committed by Joe Mooring
parent dee99c36a6
commit 0c31a4b45e

View File

@ -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