Actions13
Deployment → Deploy
AI-generatedSummary
Deploys files to a live ShipStatic site and returns the deployment response, including its URL. Choose binary files from upstream items, a JSON array of files, or one text file; anonymous deployment is supported, while credentials enable authenticated options such as TTL.
Inputs
- Input (required) — Select Binary Files (default), Files (JSON), or Text Content. Binary input uses each item's binary data; matching common leading path segments are removed from uploaded paths. Files (JSON) expects an array of objects with relative
pathand stringcontent; content defaults to UTF-8, and useencoding: "base64"only for binary files. Text Content deploys one file using File Name. - Input Binary Field (required) — Binary property to upload when Input is Binary Files; defaults to
data. - Files (required) — JSON array of files, each with a relative
pathand stringcontent. Optionalencodingmay beutf-8orbase64; defaults toutf-8. - File Content (required) — Text for the single file deployed when Input is Text Content.
- File Name (required) — Relative path for the text file; defaults to
index.html. - Options — Optional Idempotency Key reuses the original deployment on retries with the same key; Labels are comma-separated; Password protects site access; Single-Page App Routing (default on) checks for an SPA and adds
ship.jsonrewrites when detected, provided noship.jsonis already supplied; TTL sets expiry in seconds and requires credentials. TTL deployments cannot be linked to a custom domain.
Output shape
A single item containing the deployment API response as JSON.
The response may include a claim URL when deployed anonymously. Empty input files cause an error. With Continue On Fail enabled, errors are returned as an item containing an
errorfield and, when available, error type, status, and details.