Back

[Solved] Github function deployment question

  • 0
  • Functions
Todor Donev
11 Nov, 2023, 10:29

Context: I have an app that has multiple functions hosted in github in a single repository. All the functions are in different folders. Ive enabled github in my appwrite instance. Problem: When I make a single change to 1 function, all the functions are being re-built and re-deployed, even if they are not changed. Which takes more and more time as I add more functions.

Can I somehow change some setting to only build and deploy the changed function, not all of them?

TL;DR
The user is asking if there is a way to only build and deploy a changed function instead of rebuilding and deploying all functions when using GitHub for an Appwrite instance. A solution proposed by another user is to use different branches for different functions, separating the prod/deploy branch for each function.
Drake
13 Nov, 2023, 01:34

Not at the moment...it might be hard for Appwrite to figure out what's changed at whatnot as well.

Maybe you can use different branches for the prod/deploy branch for the different functions

Todor Donev
13 Nov, 2023, 15:57

Alright thanks, how do I mark this as solved?

Drake
13 Nov, 2023, 16:15

Update the post (via post settings) and prefix the post title with [SOLVED]

Todor Donev
13 Nov, 2023, 17:18

[Solved] Github function deployment question

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