Skip to content

Commit dde47dd

Browse files
authored
Update nextjs.yml
1 parent e66f343 commit dde47dd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/nextjs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ jobs:
7575
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
7676
- name: Build with Next.js
7777
run: ${{ steps.detect-package-manager.outputs.runner }} next build
78+
- run: mkdir -p ./out
79+
if: success() && !steps.build.outputs.cache-hit
7880
- name: Upload artifact
7981
uses: actions/upload-pages-artifact@v3
8082
with:

0 commit comments

Comments
 (0)