janghanbin/PaaS Deploy
Deploy a prebuilt image to PaaS (build/push it yourself first).
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| app | App name (must already exist on PaaS). | yes | — |
| token | App deploy token (PaaS API auth). | yes | — |
| action | Lifecycle action: deploy (default), teardown (un-deploy, keep data), delete (remove everything incl. volumes), or rollback (re-deploy a past release; needs release-id). | — | deploy |
| release-id | Release id to roll back to (required when action: rollback). | — | "" |
| images | Optional JSON object {"web":"img@sha256:..."} or "web=img@sha256:..." shorthand. If omitted, digest images are inferred from deploy-yaml. | — | "" |
| url | PaaS base URL. | — | https://paas.free4me.cc |
| deploy-yaml | Path to deploy YAML / compose YAML (sent as the run shape if present). | — | docker-compose.yml |
| http-service | Service to expose over HTTP. | — | "" |
| http-port | Container port of the HTTP service. | — | "" |
| health-path | Health check path (default /health). | — | "" |
| custom-domains | Comma-separated custom domains to serve this app on (e.g. "api.example.com,www.example.com"). Each must CNAME to the app; a Cloudflare edge certificate is provisioned (HTTP-validated) asynchronously. | — | "" |
| env | JSON object of vars/secrets for ${VAR} interpolation in the compose, e.g. {"DB_PASSWORD":"...","JWT_SECRET":"..."}. The agent injects them into docker compose like a local .env, so you can deploy a committed compose as-is instead of generating one. Encrypted at rest (control plane needs PAAS_SECRET_KEY). | — | "" |
| deploy-timeout | Health/deploy timeout for slow startups like DB init, e.g. "180s" (agent default 90s). | — | "" |
| registry-host | Pull credential host for private app images. | — | "" |
| registry-username | Pull credential username for private app images. | — | "" |
| registry-password | Pull credential password/token for private app images. | — | "" |
| registry-credentials | JSON array of pull credentials for MULTIPLE registries, e.g. [{"host":"ghcr.io","username":"u","password":"t"},{"host":"registry.gitlab.com","username":"...","password":"..."}]. Combined with registry-username/password. One token per host. | — | "" |
| poll | Wait for the deployment to finish. | — | true |
Outputs
no outputs