Skip to content

Update Docusaurus to v3 #819

Update Docusaurus to v3

Update Docusaurus to v3 #819

Workflow file for this run

name: Build GH pages and deploy if on master
on:
push:
branches:
- master
pull_request:
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Build
run: npm ci && npm run build
- name: Deploy
uses: peaceiris/[email protected]
if: ${{ github.ref == 'refs/heads/master' }}
env:
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./build