Skip to content

Refreshing website content from main repo. #27

Refreshing website content from main repo.

Refreshing website content from main repo. #27

Workflow file for this run

name: Build & Deploy spec to Github Pages
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions:
pages: write
id-token: write
jobs:
site-deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: "npm"
cache-dependency-path: package-lock.json
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build website
run: yarn build
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './build'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4