update_deploy_script
Replace a site's deploy script entirely with new content. Provide the complete script; the update applies asynchronously.
Instructions
Replace a site's deploy script with the given content (full-file PATCH — send the complete script, not a diff). Read it first with get_deploy_script. Ploi applies the write asynchronously, so allow a few seconds before reading it back.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server_id | Yes | The ID of the server | |
| site_id | Yes | The ID of the site | |
| deploy_script | Yes | The full deploy-script content to write (replaces the existing script entirely) |