Skip to content

Commit

Permalink
Update nextjs.yml
Browse files Browse the repository at this point in the history
add `npm run build` to ouput static files
  • Loading branch information
DieselTech authored Oct 28, 2024
1 parent 9cc5d6a commit 889a988
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ jobs:
run: ${{ steps.detect-package-manager.outputs.runner }} next build
# - name: Static HTML export with Next.js
# run: ${{ steps.detect-package-manager.outputs.runner }} next export
- name: Build Next.js static site
run: npm run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down

0 comments on commit 889a988

Please sign in to comment.