Skip to content

Commit 8ecf866

Browse files
fguendlingclaude
andcommitted
Fix GitHub Pages deployment workflow
Updated all GitHub Actions to latest versions to fix deployment failures: - actions/checkout: v3 → v4 - actions/setup-node: v3 → v4 - actions/configure-pages: v3 → v5 - actions/cache: v3 → v4 - actions/upload-pages-artifact: v2 → v3 - actions/deploy-pages: v2 → v4 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent b25b015 commit 8ecf866

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/nextjs.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
runs-on: ubuntu-latest
2525
steps:
2626
- name: Checkout
27-
uses: actions/checkout@v3
27+
uses: actions/checkout@v4
2828
- name: Detect package manager
2929
id: detect-package-manager
3030
run: |
@@ -38,19 +38,19 @@ jobs:
3838
exit 1
3939
fi
4040
- name: Setup Node
41-
uses: actions/setup-node@v3
41+
uses: actions/setup-node@v4
4242
with:
4343
node-version: "20"
4444
cache: ${{ steps.detect-package-manager.outputs.manager }}
4545
- name: Setup Pages
46-
uses: actions/configure-pages@v3
46+
uses: actions/configure-pages@v5
4747
with:
4848
# Automatically inject basePath in your Next.js configuration file and disable
4949
# server side image optimization (https://nextjs.org/docs/api-reference/next/image#unoptimized).
5050
# You may remove this line if you want to manage the configuration yourself.
5151
static_site_generator: next
5252
- name: Restore cache
53-
uses: actions/cache@v3
53+
uses: actions/cache@v4
5454
with:
5555
path: |
5656
.next/cache
@@ -64,7 +64,7 @@ jobs:
6464
- name: Build with Next.js
6565
run: ${{ steps.detect-package-manager.outputs.runner }} next build
6666
- name: Upload artifact
67-
uses: actions/upload-pages-artifact@v2
67+
uses: actions/upload-pages-artifact@v3
6868
with:
6969
path: ./out
7070

@@ -77,4 +77,4 @@ jobs:
7777
steps:
7878
- name: Deploy to GitHub Pages
7979
id: deployment
80-
uses: actions/deploy-pages@v2
80+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)