Skip to content

Commit

Permalink
Adjust the build pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
majora2007 committed Nov 15, 2024
1 parent c1176d2 commit 79190b4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,8 @@ jobs:
# You may remove this line if you want to manage the configuration yourself.
static_site_generator: next
- name: Install dependencies
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
run: npm ci
- name: Build with Next.js
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
Expand Down

0 comments on commit 79190b4

Please sign in to comment.