Skip to content

Commit

Permalink
added next config to build
Browse files Browse the repository at this point in the history
  • Loading branch information
Cameron Campbell authored and Cameron Campbell committed May 16, 2024
1 parent ad45ffa commit 4c498c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

- run: git clone https://github.com/shuding/nextra-docs-template
- run: npm i --prefix ./nextra-docs-template
- run: "echo 'Bun.write(`./nextra-docs-template/next.config.js`, `const withNextra = require(\"nextra\")({ theme: \"nextra-theme-docs\", themeConfig: \"./theme.config.tsx\" }); module.exports = withNextra({ distDir: \"./build\", basePath: \"/pages\" })`)' | bun run -"
- run: "echo 'Bun.write(`./nextra-docs-template/next.config.js`, `const withNextra = require(\"nextra\")({ theme: \"nextra-theme-docs\", themeConfig: \"./theme.config.tsx\" }); module.exports = withNextra({ output: \"export\", distDir: \"./build\", basePath: \"/openblox\" })`)' | bun run -"
- run: "echo 'Bun.write(`./nextra-docs-template/.nojekyll`, ``)' | bun run -"
- run: npm run --prefix ./nextra-docs-template build

Expand Down

0 comments on commit 4c498c7

Please sign in to comment.