oktroco/Amazon ECS "Deploy Task Definition" and "Notify to Slack" Action for GitHub Actions
Registers an Amazon ECS task definition, and deploys it to an ECS service, and notify to slack
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| task-definition | The path to the ECS task definition file to register | yes | — |
| service | The name of the ECS service to deploy to. The action will only register the task definition if no service is given. | no | — |
| cluster | The name of the ECS service's cluster. Will default to the 'default' cluster | no | — |
| wait-for-service-stability | Whether to wait for the ECS service to reach stable state after deploying the new task definition. Valid value is "true". Will default to not waiting. | no | — |
| wait-for-minutes | How long to wait for the ECS service to reach stable state, in minutes (default: 30 minutes, max: 6 hours). For CodeDeploy deployments, any wait time configured in the CodeDeploy deployment group will be added to this value. | no | — |
| codedeploy-appspec | The path to the AWS CodeDeploy AppSpec file, if the ECS service uses the CODE_DEPLOY deployment controller. Will default to 'appspec.yaml'. | no | — |
| codedeploy-application | The name of the AWS CodeDeploy application, if the ECS service uses the CODE_DEPLOY deployment controller. Will default to 'AppECS-{cluster}-{service}'. | no | — |
| codedeploy-deployment-group | The name of the AWS CodeDeploy deployment group, if the ECS service uses the CODE_DEPLOY deployment controller. Will default to 'DgpECS-{cluster}-{service}'. | no | — |
| slack-webhook-url | Webhook Url for slack notify. | no | — |
| slack-waiting-msg-blocks | The path to json file of slack message block for notify deployment is start. | no | — |
| slack-success-msg-blocks | The path to json file of slack message block for notify deployment is success. | no | — |
| slack-failure-msg-blocks | The path to json file of slack message block for notify deployment is failure. | no | — |
| slack-channel | The name of slack channel. | no | — |
| slack-display-text | Text message for slack notify popup display. | no | — |
| slack-default-blocks-language | Language of default blocks template. This is for default template user. | no | — |
Outputs
| name | description |
|---|---|
| task-definition-arn | The ARN of the registered ECS task definition |
| codedeploy-deployment-id | The deployment ID of the CodeDeploy deployment (if the ECS service uses the CODE_DEPLOY deployment controller |