We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 211a5c9 commit bf18519Copy full SHA for bf18519
.github/workflows/nextjs.yml
@@ -78,10 +78,15 @@ jobs:
78
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
79
- name: Build with Next.js
80
run: ${{ steps.detect-package-manager.outputs.runner }} next build
81
+ - name: Prepare Deployment
82
+ run: |
83
+ mkdir -p deploy
84
+ cp -r .next/static/* deploy/
85
+ cp .next/server/pages/en.html deploy/index.html
86
- name: Upload artifact
87
uses: actions/upload-pages-artifact@v3
88
with:
- path: .next
89
+ path: deploy
90
91
# Deployment job
92
deploy:
0 commit comments