publish_web_app
Publish a Google Apps Script web app in one step by updating files, creating a new version, and repointing an existing deployment, keeping the URL stable.
Instructions
Publish a Google Apps Script web app in one step: optionally update content, create a new version, and repoint an existing deployment to it (deployment URL stays stable).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | Optional project files to write before publishing (Apps Script content format: { name, type, source }). If omitted, the current saved content is published. | |
| scriptId | Yes | The ID of the script project. | |
| description | No | Description for the new version and deployment. | |
| deploymentId | Yes | The ID of the existing deployment to repoint. |