Skip to content

Commit

Permalink
Removing next export command usage
Browse files Browse the repository at this point in the history
  • Loading branch information
CCoffie committed Mar 25, 2024
1 parent 9c16e5c commit 83afccd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ jobs:
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }} --legacy-peer-deps
- 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: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
"dev": "next dev",
"dev-public": "next dev --hostname 0.0.0.0",
"build": "next build",
"export": "next export -o docs && touch docs/.nojekyll && echo \"CalebCoffie.com\" > docs/CNAME",
"deploy": "npm run build && npm run export && git add docs && git commit -m\"Building next.js static pages\" && git push origin master",
"start": "next start"
},
"dependencies": {
Expand Down

0 comments on commit 83afccd

Please sign in to comment.