1
0
Fork 0
mirror of synced 2024-07-05 14:40:42 +12:00
appwrite/docs/references/functions/create-deployment.md
2022-01-25 17:45:38 +04:00

540 B

Create a new function code deployment. Use this endpoint to upload a new version of your code function. To execute your newly uploaded code, you'll need to update the function's deployment to use your new deployment UID.

This endpoint accepts a tar.gz file compressed with your code. Make sure to include any dependencies your code has within the compressed file. You can learn more about code packaging in the Appwrite Cloud Functions tutorial.

Use the "command" param to set the entry point used to execute your code.