configure next for gh pages
This commit is contained in:
parent
5fdb0b73c6
commit
9a35263c65
4
.github/workflows/nextjs.yml
vendored
4
.github/workflows/nextjs.yml
vendored
@ -29,14 +29,10 @@ jobs:
|
||||
uses: oven-sh/setup-bun@v1
|
||||
- name: Setup Pages
|
||||
uses: actions/configure-pages@v3
|
||||
with:
|
||||
static_site_generator: next
|
||||
- name: Install dependencies
|
||||
run: bun install
|
||||
- name: Build with Next.js
|
||||
run: bun run build
|
||||
- name: Static HTML export with Next.js
|
||||
run: bun run export
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v2
|
||||
with:
|
||||
|
@ -1,4 +1,6 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {}
|
||||
const nextConfig = {
|
||||
output: "export"
|
||||
}
|
||||
|
||||
module.exports = nextConfig
|
||||
|
@ -6,7 +6,6 @@
|
||||
"dev": "next dev",
|
||||
"build": "next build",
|
||||
"start": "next start",
|
||||
"export": "next export",
|
||||
"lint": "next lint",
|
||||
"new": "bun new.ts"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user