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 470bf8b commit 2998522
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ jobs:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1

- run: bun i next@^13.0.6 nextra@2.13.4 nextra-theme-docs@2.13.4 react@^18.2.0 react-dom@^18.2.0
- run: bunx create-next-app docs_site --v 13.0.6 --ts --no-tailwind --no-eslint --no-app --no-src-dir --no-import-alias --empty --use-bun
- run: bun i next@^13.0.6 nextra@2.13.4 nextra-theme-docs@2.13.4 react@^18.2.0 react-dom@^18.2.0
- run: cd docs_site
- run: "echo 'Bun.write(`./next.config.js`, `const withNextra = require(\"nextra\")({ output: \"build\" }); module.exports = withNextra()`)' | bun run -"
- run: cd docs_site && bun run build && cd ../
- run: bun run build

0 comments on commit 2998522

Please sign in to comment.