Add GitHub Actions workflow for deployment

This commit is contained in:
RussellChamp authored and GitHub committed 2026-10-16 15:54:39 -04:00
1 parent 53a2d6354b
commit d44b012a75
1 file changed
+34
+34
View File
@@ -0,0 +1,34 @@
name: Deploy to GitHub Pages
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- run: yarn install
- run: yarn build
- uses: actions/configure-pages@v4
- uses: actions/upload-pages-artifact@v3
with:
path: public
- uses: actions/deploy-pages@v4
id: deployment