Skip to content

Commit 0710d96

Browse files
committed
ci: deploy GitHub Pages only from main
Made-with: Cursor
1 parent 6f30ab2 commit 0710d96

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/deploy-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@
1616
# Project site URL: https://<owner>.github.io/<repo>/
1717
# EXPO_PUBLIC_BASE_PATH below must match that /<repo> prefix so assets load.
1818
#
19-
# To deploy from a branch other than main, add it under `on.push.branches`.
19+
# Only `main` is allowed to deploy (GitHub Pages environment protection). Merge to main to publish.
2020
# For a site at the domain root (not /repo/), set EXPO_PUBLIC_BASE_PATH in the
2121
# Export step to "" and adjust app.config handling if needed.
2222

2323
name: Deploy web to GitHub Pages
2424

2525
on:
2626
push:
27-
branches: [main, feature/graphing, feature/graph2]
27+
branches: [main]
2828
workflow_dispatch:
2929

3030
permissions:

0 commit comments

Comments
 (0)