Skip to content

Commit

Permalink
chore: fix cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
shakhzodkudratov committed Oct 16, 2024
1 parent 9168a43 commit 621b3bd
Show file tree
Hide file tree
Showing 3 changed files with 6 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 @@ -69,8 +69,6 @@ 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 }} build
- name: Static HTML export with Next.js
run: ${{ steps.detect-package-manager.outputs.runner }} export
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
Expand Down
7 changes: 6 additions & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ const withNextra = nextra({
});

/** @type {import('next').NextConfig} */
const nextConfig = {};
const nextConfig = {
output: "export",
images: {
unoptimized: true,
},
};

export default withNextra(nextConfig);
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"scripts": {
"dev": "next dev",
"build": "next build",
"export": "next export",
"start": "next start",
"format": "biome format . --write",
"lint": "biome lint . --write",
Expand Down

0 comments on commit 621b3bd

Please sign in to comment.