
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
- deno 2 Cloud random errors
we have big problems with the functions. although we do not change anything in the function, we have the following random behaviour: - no scope permissions erro...
- Appwrite functions can't connect to data...
I'm trying to create a function that queries my database, but all database operations timeout from within the function, even though CLI access works perfectly. ...
- Error
I'm trying to get sellerId using account.get() in my appwrite function and this is the error message I'm getting: "Failed to send notification to seller 6865bf...
