Waits for any pending ECS deployment to reach the completed state before continuing. This action is useful to avoid cases where a new deploy begins during a partially completed rollback. AWS notes in their documentation that when using deployment circuit breakers, if a second deployment begins while the first is being rolled back, the second deployment cannot rollback.
Usage
- name: Wait for deployment
uses: coprocure/[email protected]
with:
cluster: main
service: my-service
See action.yml file for the full documentation for this action's inputs and outputs.
This action relies on the default behavior of the AWS SDK for Javascript to determine AWS credentials and region.
Use the aws-actions/configure-aws-credentials
action to configure the GitHub Actions environment with environment variables containing AWS credentials and your desired region.
This code is made available under the MIT license.