Skip to content

Auto-enable GitHub Pages on first deploy - #2

Merged
bassim-matar merged 1 commit into
mainfrom
auto-enable-pages
Jul 10, 2026
Merged

Auto-enable GitHub Pages on first deploy#2
bassim-matar merged 1 commit into
mainfrom
auto-enable-pages

Conversation

@bassim-matar

Copy link
Copy Markdown
Member

End-user testing surfaced a race: the first workflow run (triggered at instantiation) fails with 404 because Pages is not enabled yet, and enabling it afterwards does not retrigger anything.

actions/configure-pages with enablement: true creates the Pages site (source: GitHub Actions) using the pages: write permission the deploy job already has. The quick start loses its only manual setting.

@bassim-matar
bassim-matar merged commit 5a38c87 into main Jul 10, 2026
4 checks passed
@bassim-matar
bassim-matar deleted the auto-enable-pages branch July 10, 2026 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant