Back

functions doesn't automatically redeploy after new commits

  • 0
  • Functions
  • Web
  • Cloud
chukwutosin_
27 Sep, 2023, 09:25

Hello, after I deployed my function in a repository to my Appwrite cloud project, it works. But j realised that new commits to the branch and changes to the function aren't pulled and activated.

Even when I try to redeploy the function, it doesn't work except I disconnected the repository and reconnect it, that's when the changes are reflected.

TL;DR
User is experiencing an issue where functions in their Appwrite project are not automatically redeploying after new commits. They suspect that having a nuxtjs app in a different folder within the same repository may be causing the problem. No error messages are shown. Other users ask if the user is using the GitHub integration for multiple projects or functions, and if they see the list of repos when creating a new function. The user confirms that they are using multiple functions in individual folders and that the GitHub integration is being used. They are able to see the list of repos when creating a new function. The user notes that disconnecting and reconnecting the
Drake
27 Sep, 2023, 21:27

Some questions:

  1. are you using the github integration for multiple projects?
  2. are you using the github integration multiple functions?
  3. Do you see your list of repos if you try to create a new function?
chukwutosin_
28 Sep, 2023, 09:26
  1. Yes
  2. Yes, it has multiple functions in individual folders
  3. Yes
Drake
28 Sep, 2023, 17:32

Even when I try to redeploy the function, it doesn't work

What error do you get?

chukwutosin_
28 Sep, 2023, 18:00

There's no error whatsoever, just that it's the previous state of the function that still remains

chukwutosin_
29 Sep, 2023, 13:42

@Steven I tried it by connecting a repo to one single project and it works as expected

chukwutosin_
29 Sep, 2023, 13:44

Maybe it didn't work before because there were multiple projects using a repo

Drake
29 Sep, 2023, 17:49

either that or maybe the repo was too big...

chukwutosin_
29 Sep, 2023, 17:59

Hmmm, regarding your second point. I had a nuxtjs app in the same repo but in a different folder.

So that could be an issue?

Drake
29 Sep, 2023, 18:09

i think appwrite should only be taking what you specify as the root directory of your function:

chukwutosin_
30 Sep, 2023, 07:39

Alright, thanks

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