deploy
Upload a previewed plan to an SFTP host, backing up every overwritten file on the server so it can be undone with restore. Refuses if the plan changed since preview.
Instructions
Upload the previewed plan. Every file it overwrites is backed up on the server first, and the whole deploy can be undone with restore. Never deletes server files. Refuses if the plan changed since preview_deploy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site name from sites.json (see list_sites) | |
| planId | Yes | planId from preview_deploy | |
| localDir | No | Local folder to deploy from / compare with. Defaults to the site's localDir. |