apso deploy
Deploy the linked service to the Apso platform. Runs a local migration check before deploying to catch schema issues early.
Usage
apso deploy
apso deploy --yes
apso deploy --skip-migrate
apso deploy --no-waitOptions
| Option | Description | Default |
|---|---|---|
-y, --yes | Skip confirmation prompt | false |
--skip-migrate | Skip local migration validation | false |
--no-wait | Trigger deploy without waiting for completion | false |
Deploy flow
- Verifies you are authenticated and the project is linked
- Parses the current
.apsorcschema - Runs the migration sandbox to validate schema changes (unless
--skip-migrate) - If migrations are detected, shows the SQL and asks for confirmation (unless
--yes) - If the migration fails locally, the deploy is blocked
- Triggers the build on the platform
- Polls for build completion and reports the result (unless
--no-wait)
Examples
Deploy with all checks:
apso deployDeploy in CI (no prompts, no waiting):
apso deploy --yes --no-waitDeploy without migration check:
apso deploy --skip-migratePrerequisites
- Must be authenticated (
apso login) - Project must be linked to a platform service (
apso link)
Last updated on