Skip to content

Add Cloudflare deployment status monitoring workflow#223

Merged
jakebromberg merged 1 commit intomainfrom
ci/cloudflare-deploy-status
Apr 21, 2026
Merged

Add Cloudflare deployment status monitoring workflow#223
jakebromberg merged 1 commit intomainfrom
ci/cloudflare-deploy-status

Conversation

@jakebromberg
Copy link
Copy Markdown
Member

Summary

  • Add scheduled GitHub Actions workflow (every 15 min) that queries the Cloudflare Pages API for the latest production deployment status
  • On failure: opens or comments on a GitHub issue labeled cloudflare-deploy-failure
  • On recovery: closes the open failure issue with a comment

Closes #221

Test plan

  • Verify workflow YAML is valid by triggering workflow_dispatch manually after merging
  • Confirm CLOUDFLARE_API_TOKEN secret and CLOUDFLARE_ACCOUNT_ID variable are configured in repo settings
  • Test failure path: temporarily point to a non-existent project or simulate a failed deployment, verify issue creation
  • Test recovery path: after a failure issue exists, verify a successful deployment closes it
  • Test duplicate prevention: verify repeated failures comment on the existing issue rather than creating new ones

Scheduled GitHub Actions workflow that checks the latest Cloudflare Pages
production deployment every 15 minutes. On failure, it opens a GitHub issue
(or comments on an existing one). On recovery, it closes the issue.
@jakebromberg jakebromberg merged commit 0c5c4c6 into main Apr 21, 2026
1 check passed
@jakebromberg jakebromberg deleted the ci/cloudflare-deploy-status branch April 21, 2026 16:24
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.

Add Cloudflare deployment status monitoring workflow

2 participants