https://github.com/utrustdev/action-deploy-ecs
https://github.com/utrustdev/action-deploy-ecs
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/utrustdev/action-deploy-ecs
- Owner: utrustdev
- Created: 2019-12-03T17:16:48.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-04-04T09:00:44.000Z (about 1 year ago)
- Last Synced: 2025-04-04T09:32:49.227Z (about 1 year ago)
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 12
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Github Action - Deploy to ECS
Applies a given task definition to a running service, performing the aws authorizatoin via aws-actions.
It will also compute the ECS cluster and account based on the environment specified as input.
## Usage
```yaml
jobs:
deploy:
steps:
- name: Deploy to ECS
uses: utrustdev/action-deploy-ecs
with:
task-definition: ${{ steps.task_def.outputs.file }}
service:
cluster:
aws_account:
aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws_role:
aws_region: eu-central-1
wait-for-service-stability: false # default to false
force-new-deployment: true # will default to false
role-duration-seconds: 1800 # default to 3600
```