Skip to content

Commit 20bdf40

Browse files
committed
Pages: deploy main on every push
The site deployed from a separate branch that finished changes were mirrored to by hand, so a merged pull request did not reach the site.
1 parent 3ddbb99 commit 20bdf40

2 files changed

Lines changed: 3 additions & 11 deletions

File tree

‎.github/workflows/pages.yml‎

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,10 @@ name: Deploy to GitHub Pages
55
# base path (VITE_BASE); local dev and the Capacitor native wrap keep base "/".
66

77
on:
8-
# Pages deploys from THIS branch, not main: the repo's `github-pages`
9-
# environment restricts deployments to claude/repo-setup-speckit-3magw3, so a
10-
# deploy from main is rejected at the environment gate. Finished changes are
11-
# mirrored here to publish:
12-
# git push origin <sha>:refs/heads/claude/repo-setup-speckit-3magw3
13-
# To deploy straight from main instead, allow `main` under
14-
# Settings → Environments → github-pages → deployment branches, then set this
15-
# trigger to `main`.
8+
# Every push to main deploys.
169
push:
1710
branches:
18-
- claude/repo-setup-speckit-3magw3
11+
- main
1912
workflow_dispatch:
2013

2114
permissions:

‎AGENTS.md‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ observed working:
5252
## Deploy topology
5353

5454
- Feature branch: `claude/monument-display-optimize-x1j6le`
55-
- Deployed / GitHub-Pages branch: `claude/repo-setup-speckit-3magw3`
56-
(`git push origin HEAD:claude/repo-setup-speckit-3magw3`)
55+
- GitHub Pages deploys `main`: a merged pull request ships.
5756

5857
## Stale-build gotcha (PWA)
5958

0 commit comments

Comments
 (0)