Skip to content

Commit

Permalink
Update the deployment process
Browse files Browse the repository at this point in the history
  • Loading branch information
CannonLock committed Nov 28, 2023
1 parent d89f213 commit 797aa47
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ jobs:
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
- name: Build with Next.js
working-directory: ./src
run: yarn run export
run: |
yarn run export
ls ./src/out
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "next build",
"start": "next start",
"lint": "next lint",
"export": "next build && next export && next-image-export-optimizer"
"export": "next build && next-image-export-optimizer"
},
"dependencies": {
"@emotion/react": "^11.11.1",
Expand Down

0 comments on commit 797aa47

Please sign in to comment.