Skip to content

fix(ci): add Cloudflare auth preflight#154

Merged
Delqhi merged 1 commit intomainfrom
fix/cloudflare-pages-auth-preflight
Apr 26, 2026
Merged

fix(ci): add Cloudflare auth preflight#154
Delqhi merged 1 commit intomainfrom
fix/cloudflare-pages-auth-preflight

Conversation

@Delqhi
Copy link
Copy Markdown
Member

@Delqhi Delqhi commented Apr 26, 2026

Summary

  • validate that Cloudflare repo secrets are present before the deploy step runs
  • call the Cloudflare Pages API before deployment to surface token/account mismatches with explicit diagnostics
  • keep the existing opensin-docs project name, which matches wrangler.toml and the local Pages project listing

Validation

  • .github/workflows/docs.yml parses successfully with python3 + yaml.safe_load
  • local wrangler pages project list confirms the opensin-docs Pages project exists for the active account
  • local wrangler whoami confirms the account id used to refresh repository secrets

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
@Delqhi Delqhi merged commit a3c67b4 into main Apr 26, 2026
5 checks passed
@Delqhi Delqhi deleted the fix/cloudflare-pages-auth-preflight branch April 26, 2026 06:00
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