npm/action-deploy
Action to manage GitHub deployments
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | GitHub token | yes | — |
| type | a type of deployment action to perform, can be 'create', 'delete' and 'delete-all' | yes | — |
| logs | url to deployment logs | no | — |
| description | description of a deployment | no | — |
| deployment_id | an id for deployment if 'delete' type is used | no | — |
| status | status for created deployment | no | — |
| environment | environment to create or delete all deployments in, default to context.ref without prefixes ('refs/heads/', 'deploy-'), i.e. branch name | no | — |
| environment_url | link for the deployment (e.g. http://staging.your.app/status) | no | — |
| main_branch | name of main branch of the repo, to get and store sha of the head commit and track diff being deployed | no | — |
| job_status | pass `{{job.status}}` to set the deployment completion status post script accordingly | no | — |
| slack_token | pass to authorize deployment completion messages to Slack | no | — |
| slack_channel | name of channel to post deployment completion messages | no | — |
| deployment_confidence_url | link for the deployment confidence dashboard | no | — |
| mutate_deployment | Whether the deployment status needs to be mutated by this action | no | — |
| current_sha | Sha of the deployment | no | — |
Outputs
no outputs