Skip to content

Build

Build #674

Workflow file for this run

name: Build
on:
push:
workflow_dispatch:
workflow_run:
workflows: [Scrape]
types: [completed]
branches: [main]
jobs:
ci:
name: CI
uses: ./.github/workflows/ci.yml
build:
name: Build and publish to GitHub Pages
permissions:
id-token: write
pages: write
needs: ci
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: npm
- run: npm ci
- run: npm run build
- uses: actions/upload-pages-artifact@v3
- uses: actions/deploy-pages@v4