Skip to content

Commit 19cbbaf

Browse files
authored
Update nextjs.yml
1 parent 6c68bcb commit 19cbbaf

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/nextjs.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
runs-on: ubuntu-latest
3030
steps:
3131
- name: Checkout
32-
uses: actions/checkout@v3
32+
uses: actions/checkout@v4
3333
- name: Detect package manager
3434
id: detect-package-manager
3535
run: |
@@ -53,7 +53,7 @@ jobs:
5353
node-version: "16"
5454
cache: ${{ steps.detect-package-manager.outputs.manager }}
5555
- name: Setup Pages
56-
uses: actions/configure-pages@v3
56+
uses: actions/configure-pages@v4
5757
with:
5858
# Automatically inject basePath in your Next.js configuration file and disable
5959
# server side image optimization (https://nextjs.org/docs/api-reference/next/image#unoptimized).
@@ -76,10 +76,9 @@ jobs:
7676
run: ${{ steps.detect-package-manager.outputs.runner }} next build
7777
- name: Static HTML export with Next.js
7878
run: ${{ steps.detect-package-manager.outputs.runner }} next export
79-
- name: Upload build artifact
80-
uses: actions/upload-artifact@v4
79+
- name: Upload artifact
80+
uses: actions/upload-pages-artifact@v3
8181
with:
82-
name: nextjs-build
8382
path: ./out
8483

8584

@@ -93,4 +92,4 @@ jobs:
9392
steps:
9493
- name: Deploy to GitHub Pages
9594
id: deployment
96-
uses: actions/deploy-pages@v1
95+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)