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: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
HUGO_VERSION: 0.120.2 HUGO_VERSION: 0.120.4
steps: steps:
- name: Install Hugo CLI - name: Install Hugo CLI
run: | run: |
@ -114,7 +114,7 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- name: Setup Pages - name: Setup Pages
id: pages id: pages
uses: actions/configure-pages@v3 uses: actions/configure-pages@v4
- name: Install Node.js dependencies - name: Install Node.js dependencies
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true" run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
- name: Build with Hugo - name: Build with Hugo
@ -142,7 +142,7 @@ jobs:
steps: steps:
- name: Deploy to GitHub Pages - name: Deploy to GitHub Pages
id: deployment id: deployment
uses: actions/deploy-pages@v2 uses: actions/deploy-pages@v3
{{< /code >}} {{< /code >}}
Step 7 Step 7