Skip to content

BLD: Simplify deployment #4

BLD: Simplify deployment

BLD: Simplify deployment #4

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
workflow_dispatch:
permissions:
pages: write
id-token: write
jobs:
build-and-deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://npm.pkg.github.com/
- run: npm install
- run: npm run build
- uses: actions/upload-pages-artifact@v3
with:
path: .
- id: deployment
uses: actions/deploy-pages@v4