Skip to content

Skip existing Pages site in pages_create() - #149

Merged
rundel merged 1 commit into
mainfrom
pages-create-skip
Oct 6, 2026
Merged

rundel merged 1 commit into
mainfrom
pages-create-skip

Conversation

@rundel

@rundel rundel commented Oct 6, 2026

Copy link
Copy Markdown
Owner

GitHub enables Pages on its own when a gh-pages branch is created, so a following pages_create() failed with a 409.

  • Report the repo as skipped when the existing site has the requested build type, branch, and path.
  • Still fail when the existing site has different settings.

@rundel
rundel merged commit 68d335d into main Oct 6, 2026
5 checks passed
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