Skip to content

Add GitHub workflow for PR preview deployments - #3

Merged
sids merged 3 commits into
mainfrom
claude/github-workflow-pr-preview-7qPk5
Dec 31, 2025
Merged

sids merged 3 commits into
mainfrom
claude/github-workflow-pr-preview-7qPk5

Conversation

@sids

@sids sids commented Dec 31, 2025

Copy link
Copy Markdown
Owner
  • Deploy preview on PR open/update to sids-in-pr-
  • Post/update comment on PR with preview URL
  • Use wrangler deployment URL output for accurate link

- Deploy preview on PR open/update to sids-in-pr-<number>
- Post/update comment on PR with preview URL
- Use wrangler deployment URL output for accurate link
@github-actions

github-actions Bot commented Dec 31, 2025 •

Copy link
Copy Markdown

🚀 Preview Deployment

Your preview is ready!

Preview URL: https://sids-in-pr-3.sids.workers.dev

This preview will update automatically when you push new commits to this PR.

- Trigger workflow on PR closed event
- Add cleanup-preview job that deletes the worker
- Prevents accumulation of orphaned preview deployments
Switching to native Cloudflare Workers GitHub integration which provides:
- Automatic per-branch preview deployments
- Built-in PR comments with preview URLs
- Native build and deployment management
- Automatic cleanup when branches are deleted

Setup: Connect Worker to GitHub via Dashboard > Settings > Builds > Connect
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Dec 31, 2025 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
sids-in b44e77b Commit Preview URL

Branch Preview URL
Dec 31 2025, 04:43 PM

@sids
sids merged commit b70f101 into main Dec 31, 2025
1 check 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.

2 participants