starters: update GH workflow due to GH action deprecation

Closes #3189
This commit is contained in:
George Cushen 2025-02-03 13:16:02 +00:00
commit 84f6fd8e71

View file

@ -44,7 +44,7 @@ jobs:
${{ runner.os }}-hugomod- ${{ runner.os }}-hugomod-
- name: Setup Pages - name: Setup Pages
id: pages id: pages
uses: actions/configure-pages@v3 uses: actions/configure-pages@v5
- name: Build with Hugo - name: Build with Hugo
env: env:
HUGO_ENVIRONMENT: production HUGO_ENVIRONMENT: production
@ -54,7 +54,7 @@ jobs:
- name: Generate Pagefind search index - name: Generate Pagefind search index
run: npx pagefind --site "public" run: npx pagefind --site "public"
- name: Upload artifact - name: Upload artifact
uses: actions/upload-pages-artifact@v2 uses: actions/upload-pages-artifact@v3
with: with:
path: ./public path: ./public
@ -69,4 +69,4 @@ 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@v4