Skip to content

Skip deploy gracefully when Pages is not enabled yet - #3

Merged
bassim-matar merged 1 commit into
mainfrom
graceful-pages-check
Jul 10, 2026
Merged

Skip deploy gracefully when Pages is not enabled yet#3
bassim-matar merged 1 commit into
mainfrom
graceful-pages-check

Conversation

@bassim-matar

Copy link
Copy Markdown
Member

configure-pages enablement:true cannot work in a template: creating the Pages site is an admin-only API, out of reach of GITHUB_TOKEN (verified on a fresh instance: Resource not accessible by integration).

Instead, the deploy job now checks whether Pages is enabled. If not, it skips the deploy with a green run and writes step-by-step instructions to the job summary. README restores the manual setting plus an explicit re-run step.

@bassim-matar
bassim-matar merged commit 27c93ae into main Jul 10, 2026
4 checks passed
@bassim-matar
bassim-matar deleted the graceful-pages-check branch July 10, 2026 16:17
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