Skip to content

Commit 73c510b

Browse files
authored
Update nextjs.yml
artifact3
1 parent 1982e2b commit 73c510b

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/nextjs.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,13 @@ 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 artifact
80-
uses: actions/upload-pages-artifact@v1
79+
- name: Upload build artifact
80+
uses: actions/upload-artifact@v3
8181
with:
82+
name: nextjs-build
8283
path: ./out
8384

85+
8486
# Deployment job
8587
deploy:
8688
environment:

0 commit comments

Comments
 (0)