Skip to content

Commit 5512103

Browse files
bindemanclaude
andcommitted
Deploy to GitHub Pages via Actions instead of the legacy branch build
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 2389157 commit 5512103

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

.github/workflows/deploy-pages.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Deploy website to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [main]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
# One deploy at a time; a newer push supersedes an in-flight one
14+
concurrency:
15+
group: pages
16+
cancel-in-progress: true
17+
18+
jobs:
19+
deploy:
20+
runs-on: ubuntu-latest
21+
environment:
22+
name: github-pages
23+
url: ${{ steps.deployment.outputs.page_url }}
24+
steps:
25+
- uses: actions/checkout@v4
26+
- uses: actions/configure-pages@v5
27+
# The site is plain static files — publish the repo as-is
28+
- uses: actions/upload-pages-artifact@v3
29+
with:
30+
path: .
31+
- id: deployment
32+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)