Skip to content

Publish

Publish #289

Workflow file for this run

name: Build And Deploy Docs
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
permissions:
contents: write
actions: "read"
steps:
- name: Checkout
uses: actions/checkout@v4.1.2
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20.9.0"
cache: "yarn"
- name: Setup Yarn
run: yarn install
- name: Build
run: yarn build
- name: Generate Documentation
run: yarn docs:build
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4.5.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: docs