Skip to content

Add GitHub workflow for PR preview deployments#3

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

Add GitHub workflow for PR preview deployments#3
sids merged 3 commits intomainfrom
claude/github-workflow-pr-preview-7qPk5

Conversation

@sids
Copy link
Owner

@sids sids commented Dec 31, 2025

  • 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
Copy link

github-actions bot commented Dec 31, 2025

🚀 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
Copy link

cloudflare-workers-and-pages bot commented Dec 31, 2025

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