Skip to content

Commit

Permalink
(fix): gh pages build yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammad-quanit committed Oct 29, 2023
1 parent ab071f0 commit e21e16a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ jobs:
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
- 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: Static HTML export with Next.js
# run: ${{ steps.detect-package-manager.outputs.runner }} next export
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
Expand Down
8 changes: 3 additions & 5 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/**
* @type {import('next').NextConfig}
*/
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'export',
// output: 'export',
// images: {
// remotePatterns: [
// {
Expand All @@ -12,7 +10,7 @@ const nextConfig = {
// ],
// },
// experimental: {
// serverActions: true,
// serverActions: false,
// },
};

Expand Down

0 comments on commit e21e16a

Please sign in to comment.