actions-marketplace-validations/GitHub Multi Deployments
Github action which lets you to handle deployments status with multiple environments
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Mar 31, 2026
- License
- MIT
Pinned Snippet
uses: actions-marketplace-validations/maxgfr_github-multi-deployments@5df01bb63b075e68f8f8a1e095bbd4e819a09e8b # no releases — HEAD as of 2026-07-13tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| token | GitHub token | yes | — |
| step | One of 'start', 'finish', 'deactivate-env', 'delete-env', 'get-env' | yes | — |
| desc | Description to set in status | no | — |
| ref | The git ref to use for the deploy, defaults to `github.ref or github.head_ref` | no | — |
| repository | Set status for a different repository, using the format `$owner/$repository` (optional, defaults to the current repository) | no | — |
| env | The name of the deployment environment for Github. It could be an array of string. (Required for `start`, `deactivate-env` and `delete-env`) | no | — |
| deployment_id | The deployment id to update. Can be a JSON array of deployment objects or a single ID. (Required for `finish`) | no | — |
| env_url | The environment URL. It could be an array of string. (For `finish` only) | no | — |
| status | The deployment status. (For `finish` only) | no | — |
| payload | JSON payload with extra information about the deployment. (For `start` only) | no | — |
| auto_inactive | Automatically mark previous deployments as inactive via GitHub API, skipping manual deactivation. Set to 'true' to enable. (For `start` only) | no | false |
| log_url | Custom URL for deployment logs. Defaults to the commit checks page. | no | — |
| transient_environment | Mark the environment as transient (will be destroyed). Set to 'false' for permanent environments like production. Default: 'true'. | no | true |
| production_environment | Mark the deployment as a production environment. Set to 'true' to enable. Default: 'false'. | no | false |
| continue_on_error | Continue deploying to other environments when one fails (multi-env). Partial successes are output with warnings. Default: 'false'. | no | false |
| dry_run | Enable dry-run mode. Logs what would happen without making API calls. Set to 'true' to enable. | no | false |
| debug | Print arguments used by this action. | no | — |
Outputs
| name | description |
|---|---|
| deployment_id | JSON array of deployment objects with IDs and environment information (from `start` and `finish` steps) |
| env | The environment(s) for the deployment. For `start`: the original input value. For `get-env`: JSON array of environment names. |