Skip to content

Working on v0.25.x

Working on v0.25.x #65

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [main]
jobs:
deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
working-directory: tools
run: npm install
- name: Build website
working-directory: tools
run: npm run build:docs
# Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
force_orphan: true
# Build output to publish to the `gh-pages` branch:
publish_dir: docs
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'