Skip to content

Update website

Update website #4

Workflow file for this run

name: Update website
on:
release:
types: [published]
workflow_dispatch:
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
pages: write
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
cache: 'yarn'
node-version-file: '.nvmrc'
- run: yarn --immutable
- run: yarn build-site
- name: Setup site
uses: actions/configure-pages@v5
- name: Upload site
uses: actions/upload-pages-artifact@v3
with:
path: 'docs'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4 # or specific "vX.X.X" version tag for this action