
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
- Hola equipo de soporte,
Hola equipo de soporte, Estoy desarrollando una Function en Appwrite Cloud con Node.js 22 y el siguiente package.json: { "name": "upload-whitelist", "type"...
- Function running in cloud but not locall...
Hi everyone, I have an appwrite function which is on python3.12 runtime. I have a library (hnswlib) which builds wheels during installation. This works on appwr...
- Permissions for bulk operation
Hi team, I have a question: “In the databases.createDocuments bulk API, can I set document-level permissions? If yes, how exactly should I include the permissio...
