Back

types of `Function deploy`

  • 0
  • Functions
Chola
23 Jun, 2023, 15:22

Does appwrite functions createDeployment --functionId=6010cc93d0a7b --activate=true --entrypoint="index.js" --code="." perform the same as appwrite deploy function? If I create the function from the CLI that is

TL;DR
The user is asking if `appwrite functions createDeployment` command with specific parameters performs the same as `appwrite deploy function`. The user also mentions that `appwrite deploy function` uses information from the `appwrite.json` file. Solution: Yes, both commands perform the same function of deploying a function. However, `appwrite deploy function` uses the information from the `appwrite.json` file while `appwrite functions createDeployment` command requires specific parameters to be provided.
Binyamin
23 Jun, 2023, 15:23

Yep, The different is that appwrite deploy function uses the information inside the appwrite.json file

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more