maxgfr/GitHub Multi Deployments

Github action which lets you to handle deployments status with multiple environments

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
tokenGitHub tokenyes
stepOne of 'start', 'finish', 'deactivate-env', 'delete-env', 'get-env'yes
descDescription to set in statusno
refThe git ref to use for the deploy, defaults to `github.ref or github.head_ref`no
repositorySet status for a different repository, using the format `$owner/$repository` (optional, defaults to the current repository)no
envThe name of the deployment environment for Github. It could be an array of string. (Required for `start`, `deactivate-env` and `delete-env`)no
deployment_idThe deployment id to update. Can be a JSON array of deployment objects or a single ID. (Required for `finish`)no
env_urlThe environment URL. It could be an array of string. (For `finish` only)no
statusThe deployment status. (For `finish` only)no
payloadJSON payload with extra information about the deployment. (For `start` only)no
auto_inactiveAutomatically mark previous deployments as inactive via GitHub API, skipping manual deactivation. Set to 'true' to enable. (For `start` only)nofalse
log_urlCustom URL for deployment logs. Defaults to the commit checks page.no
transient_environmentMark the environment as transient (will be destroyed). Set to 'false' for permanent environments like production. Default: 'true'.notrue
production_environmentMark the deployment as a production environment. Set to 'true' to enable. Default: 'false'.nofalse
continue_on_errorContinue deploying to other environments when one fails (multi-env). Partial successes are output with warnings. Default: 'false'.nofalse
dry_runEnable dry-run mode. Logs what would happen without making API calls. Set to 'true' to enable.nofalse
debugPrint arguments used by this action.no
namedescription
deployment_idJSON array of deployment objects with IDs and environment information (from `start` and `finish` steps)
envThe environment(s) for the deployment. For `start`: the original input value. For `get-env`: JSON array of environment names.