Skip to content

Commit 04aed3f

Browse files
mahabubul470claude
andcommitted
ci: deploy landing page to GitHub Pages
- Rename site/gpp-landing.html -> site/index.html (Pages serves root) - Add Actions Pages workflow uploading site/ on push to main Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 5bd1963 commit 04aed3f

2 files changed

Lines changed: 41 additions & 0 deletions

File tree

.github/workflows/pages.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Deploy landing page
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- "site/**"
8+
- ".github/workflows/pages.yml"
9+
workflow_dispatch:
10+
11+
permissions:
12+
contents: read
13+
pages: write
14+
id-token: write
15+
16+
# Allow one concurrent deployment; newer pushes supersede in-flight runs.
17+
concurrency:
18+
group: pages
19+
cancel-in-progress: true
20+
21+
jobs:
22+
deploy:
23+
environment:
24+
name: github-pages
25+
url: ${{ steps.deployment.outputs.page_url }}
26+
runs-on: ubuntu-latest
27+
steps:
28+
- name: Checkout
29+
uses: actions/checkout@v4
30+
31+
- name: Configure Pages
32+
uses: actions/configure-pages@v5
33+
34+
- name: Upload site/ as Pages artifact
35+
uses: actions/upload-pages-artifact@v3
36+
with:
37+
path: site
38+
39+
- name: Deploy to GitHub Pages
40+
id: deployment
41+
uses: actions/deploy-pages@v4
File renamed without changes.

0 commit comments

Comments
 (0)