appwrite/docs/references/functions/create-deployment.md

5 lines
558 B
Markdown
Raw Normal View History

2022-01-25 13:45:38 +00:00
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.
2020-12-31 08:25:11 +00:00
2023-10-13 13:43:44 +00:00
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](https://appwrite.io/docs/functions).
2020-12-31 08:25:11 +00:00
2023-08-23 08:16:52 +00:00
Use the "command" param to set the entrypoint used to execute your code.