Skip to content

added next config to build #9

added next config to build

added next config to build #9

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: 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: "echo 'Bun.write(`./next.config.js`, `const withNextra = require("nextra")({ output: \"build\" }); module.exports = withNextra()`)' | bun run -"

Check failure on line 15 in .github/workflows/build-docs.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-docs.yml

Invalid workflow file

You have an error in your yaml syntax on line 15
- run: cd docs_site && bun run build && cd ../