Skip to content

build demo for docs

build demo for docs #7

Workflow file for this run

name: Documentation
on:
push:
branches: [master]
jobs:
build:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: volta-cli/action@v4
- name: Install
run: npm ci
# Build first, since the node_modules will link to the local packages while mono-docs requires tsx-dom to be present
- name: Build
run: npm run build
- name: Build Docs
run: npm run docs:build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs-dist