Skip to content

added next config to build #22

added next config to build

added next config to build #22

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
- uses: GuillaumeFalourd/[email protected]
with:
owner: 'shuding'
repository: 'nextra-docs-template'
access-token: ${{ secrets.ACCESS_TOKEN }}
- run: cd nextra-docs-template
- run: "echo 'Bun.write(`./next.config.js`, `const withNextra = require('nextra')({ theme: \"nextra-theme-docs\", themeConfig: \"./theme.config.tsx\", output: \"build\" })`)' | bun run -"
- run: bun i
- run: next build