Skip to content

Merge pull request #92 from PeculiarVentures/fix-name-creation #107

Merge pull request #92 from PeculiarVentures/fix-name-creation

Merge pull request #92 from PeculiarVentures/fix-name-creation #107

Workflow file for this run

name: Build and Deploy documentation
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
- name: Install library dependencies
run: yarn install
- name: Install website dependencies
run: yarn --cwd website install
- name: Build docs
run: yarn --cwd website build
- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: website/build