BootyOriginal post
Web Developer
Hey all! I’m using Appwrite Cloud Sites with GitHub connected. Right now, Appwrite seems to build for every push and PR, not just for my production branch (main). I’d like deploys to run only when changes land on main (e.g., after merging a PR from develop).
Questions:
- Is there any way to filter by branch so builds run only for main?
- Or can we configure GitHub so that Appwrite only receives webhook events for main pushes and not for other branches (e.g. develop)?
Context: I use a develop → main flow. Pushes to develop create builds we don’t need and add noise. I’d prefer no builds for non-production branches.
Thanks for any guidance.
Summary
Developers using Appwrite Cloud Sites with GitHub connected are wondering if they can limit site deployments to the main branch only. They are looking for a way to filter builds to run exclusively for the main branch, rather than triggering builds for every push and PR, including those in non-production branches like develop. This would help reduce unnecessary builds and potential noise.