
I deployed appwrite function with integration with github actions all works but after i update my function locally and push it to my repo even i redeploy on appwrite dashboard the function execution is just the old function its like appwrite is not getting the new deployment .
Note : I created my function from appwrite cli on my computer which created a folder called functions and a file appwrite.json , then i pushed that to my repo which i created inside functions forlder i have two appwrite function then inside appwrite when i created my function I set entrypoint to src/main.js and root directory to functions/user_fun
user_fun is just my function which is inside functions folder on my repo
So now when i execute the user_fun function i just get hello world even I completely changed the function

What do you mean with "github actions"?

Are you on Cloud? Does the function settings show the function is connected to the github repo?

I'm self hosting appwrite , I created function with cli then pushed on to github I connected my github to appwrite everything works even deploy works , but later on when I do change my function and push it to github even I redeploy the function it is still the old code not the new one , so what should I do , I will delete the function from appwrite then again creating it to get the new code


If you're redeploying in Appwrite, that redeploys the previous code. It doesn't deploy the new code.
If everything was set up correctly, when your code in GitHub is updated, your function in Appwrite should have had a new deployment automatically
Recommended threads
- Cannot create a user
Hi, I am using a lowcoder frontend and trying to create a user in Appwrite (python function). Unfortunately, all I got is an error: "Raw body: Error". It means...
- Where is tensorflow support? 3.11 ML doe...
and if i manually tried to add tensorflow i get Cannot access offset of type string on string no matter what
- OAuth2 Error: invalid success param url ...
Hi everyone! I'm trying to implement Google OAuth2 login in a React Native app (using the Android simulator) with Appwrite Cloud, and I'm getting the following ...
