Deploy the project
deployPackage a project directory and publish it to Antideploy with environment variables, excluding .env files, node_modules, and build output; returns a task ID for status polling.
Instructions
Package a project directory and deploy it. Sends the whole directory, not just an entry point: a deploy containing one file builds successfully and then serves a page whose assets all 404. Returns a taskId to poll with deployment_status. A .env file is never uploaded, and neither are node_modules, build output, private keys or Python virtualenvs; the result names any .env files that were left out. The application's variables come from set_env, set_env_from_file or the env argument here, and the platform sets the database, storage, sign-in and email ones itself. The folder must be linked to an application (create_application) unless this server has a project key. When it succeeds, tell the user where it is live and on which account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Variables to store with this deploy. Write-only; never readable back. | |
| force | No | Rebuild even when the content is byte-for-byte identical to the last deploy. | |
| directory | No | Project directory. Defaults to the working directory of this server. | |
| applicationId | No | Deploy to this application instead of the one the folder is linked to. |