Skip to content

added next config to build #12

added next config to build

added next config to build #12

Workflow file for this run

name: docs
on: push
jobs:
build:
name: build-docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- 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: bun run build