Back

Cloud Function configuration "Git settings" not working

  • 1
  • Functions
  • Web
  • Cloud
Horsty - Cyril - MagicTools
5 Sep, 2024, 00:16

Hello πŸ™‚

I'm work with function and have a dedicated branch for them. Inside the configuration tabs, i have setup specially which branch to use (show the screen)

But the issue is that on each commit to the main branch, i get a build that is trigger and failed. (screen 2 is on the main branch) Why the main branch isn't exclude from trigger ? I'm expected to only my cloud-functions branch trigger build of appwrite function (screen 3 is on the cloud-functions branch)

screen 4 is the synthese on appwrite build screen, you can see the first trigger on the main it's failed and i'm expected to not see it.

Thanks

TL;DR
Developers set up a specific branch in Cloud Function configuration settings but on committing to the `main` branch, it triggers and fails. They want only the `cloud-functions` branch to trigger the build. Solution: Double-check the exclusion settings for the `main` branch in the configuration to ensure it is properly configured to avoid triggering builds on that branch.
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