Skip to content

Commit e7a04c6

Browse files
committed
Track media in Git LFS; deploy Pages via Actions
Claude-Session: https://claude.ai/code/session_01NPesedRHX8um4VuyyL1jSW
1 parent 5933b55 commit e7a04c6

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

.github/workflows/pages.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Deploys the site with Git LFS media resolved. Pages "deploy from branch" would
2+
# serve LFS pointer files instead of the videos/images, hence this workflow.
3+
name: pages
4+
on:
5+
push:
6+
branches: [main]
7+
workflow_dispatch:
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
concurrency:
13+
group: pages
14+
cancel-in-progress: true
15+
jobs:
16+
deploy:
17+
runs-on: ubuntu-latest
18+
environment:
19+
name: github-pages
20+
url: ${{ steps.deploy.outputs.page_url }}
21+
steps:
22+
- uses: actions/checkout@v4
23+
with:
24+
lfs: true
25+
- uses: actions/configure-pages@v5
26+
- uses: actions/upload-pages-artifact@v3
27+
with:
28+
path: .
29+
- id: deploy
30+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)