We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f32ad06 commit d37d5f3Copy full SHA for d37d5f3
2 files changed
.github/workflows/nextjs.yml
@@ -75,6 +75,8 @@ jobs:
75
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
76
- name: Build with Next.js
77
run: ${{ steps.detect-package-manager.outputs.runner }} next build
78
+ - name: Export with Next.js
79
+ run: ${{ steps.detect-package-manager.outputs.runner }} next export
80
- name: Upload artifact
81
uses: actions/upload-pages-artifact@v3
82
with:
next.config.js
@@ -44,5 +44,6 @@ const config = {
44
};
45
46
config.output = "export";
47
+config.basePath = process.env.PAGES_BASE_PATH;
48
49
module.exports = config;
0 commit comments