Skip to content
Back

Is there a way I can change function settings to not create a new build for every branch?

  • 0
  • Self Hosted
  • Functions
deep
17 Jan, 2025, 12:41

Appwrite Functions, when connected to GitHub, create a new build for a push to every branch, but only activate those that are on the production branch in the settings. Which is a great feature to have, but unfortunately, this does use up a lot more storage. For example, I have connected several functions to a monorepo, and the build generated is huge. That happens every single time I push the code to any branch, and it adds up quite fast as the older builds do not get deleted either. Is there a way to configure a function (or all functions) to build and deploy just the production branch and ignore pushes to all other branches?

Also where are the function builds stored? In appwrite_appwrite-builds or appwrite_appwrite-functions?

TL;DR
Developers want functions to only build and deploy on the production branch, not every branch push. Storage is being used up with the additional builds. The previous builds do not get deleted. They are questioning where the function builds are stored - is it in `appwrite_appwrite-builds` or `appwrite_appwrite-functions`?
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more