Skip to content

Website: Renew (#384) #1

Website: Renew (#384)

Website: Renew (#384) #1

Workflow file for this run

name: Build and publish website
on:
push:
branches:
- "master"
jobs:
pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'yarn'
- name: Install library dependencies
run: yarn install --frozen-lockfile
- name: Build library
run: yarn build
- name: Install website dependencies
run: yarn install --frozen-lockfile --cwd website
- name: Build website
run: yarn build --cwd website
- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: website/build