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.
Summary
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
Admin
Sep 27, 2023, 21:27
Some questions:
are you using the github integration for multiple projects?
are you using the github integration multiple functions?
Do you see your list of repos if you try to create a new function?
chukwutosin_
Rank 1: Thread
Sep 28, 2023, 09:26
Yes
Yes, it has multiple functions in individual folders
Yes
Drake
Admin
Sep 28, 2023, 17:32
Even when I try to redeploy the function, it doesn't work
What error do you get?
chukwutosin_
Rank 1: Thread
Sep 28, 2023, 18:00
There's no error whatsoever, just that it's the previous state of the function that still remains
chukwutosin_
Rank 1: Thread
Sep 29, 2023, 13:42
@Steven I tried it by connecting a repo to one single project and it works as expected
chukwutosin_
Rank 1: Thread
Sep 29, 2023, 13:44
Maybe it didn't work before because there were multiple projects using a repo
Drake
Admin
Sep 29, 2023, 17:49
either that or maybe the repo was too big...
chukwutosin_
Rank 1: Thread
Sep 29, 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
Admin
Sep 29, 2023, 18:09
i think appwrite should only be taking what you specify as the root directory of your function: