Is there a way I can change function settings to not create a new build for every branch?
- 0
- Self Hosted
- Functions
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?
Recommended threads
- Self Hosted GitHub connection not adding...
After upgrading to 1.9.6 i noticed that i cannot search for new repositories when trying to add new functions. I removed the existing github connection via Set...
- Unable to init function via cli
Hello! I have created a new self hosted instance of appwrite 1.9.6 and have connected to that insatnce with the cli 27.2.0 that was released a few hours ago. Wh...
- Appwrite-injected variables are not avai...
I am using rust-1.83 as a runtime and try to access APPWRITE_FUNCTION_API_ENDPOINT or APPWRITE_FUNCTION_API_KEY during runtime. Both are not set during my execu...