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 28c46ee commit cd77a81
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 @@ -12,7 +12,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\", output: \"build\" })`)' | bun run -"
- run: "echo 'Bun.write(`./nextra-docs-template/next.config.js`, `const withNextra = require('nextra')({ theme: \"nextra-theme-docs\", themeConfig: \"./theme.config.tsx\", output: \"build\" }); module.exports = withNextra()`)' | bun run -"
- run: npm run --prefix ./nextra-docs-template build

- uses: actions/upload-pages-artifact@v3
Expand Down

0 comments on commit cd77a81

Please sign in to comment.