Skip to content

Deploy to GitHub Pages via Actions instead of the legacy branch build #1

Deploy to GitHub Pages via Actions instead of the legacy branch build

Deploy to GitHub Pages via Actions instead of the legacy branch build #1

Workflow file for this run

name: Deploy website to GitHub Pages
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
# One deploy at a time; a newer push supersedes an in-flight one
concurrency:
group: pages
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
- uses: actions/configure-pages@v5
# The site is plain static files — publish the repo as-is
- uses: actions/upload-pages-artifact@v3
with:
path: .
- id: deployment
uses: actions/deploy-pages@v4