feat: Github Pages

This commit is contained in:
Brennan Wilkes (Text Groove) 2026-01-20 09:33:58 -08:00
parent 76790fc486
commit 0ed7b10035

40
.github/workflows/pages.yaml vendored Normal file
View file

@ -0,0 +1,40 @@
name: Deploy visualizer to GitHub Pages
on:
push:
branches: [data]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout data branch
uses: actions/checkout@v4
with:
ref: data
- name: Configure Pages
uses: actions/configure-pages@v4
- name: Upload site artifact
uses: actions/upload-pages-artifact@v3
with:
path: viz
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4