Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
play

GitHub Action

ECS deploy

v2.0.0

ECS deploy

play

ECS deploy

Github action using fabfuel/ecs-deploy script for ecs deployments

Installation

Copy and paste the following snippet into your .yml file.

              

- name: ECS deploy

uses: brunocascio/[email protected]

Learn more about this action in brunocascio/ecs-deploy

Choose a version

ECS deploy using Github Actions

This action deploys ECS services using fabfuel/ecs-deploy tool.

Example usage

- name: Configure AWS Credentials
  uses: aws-actions/configure-aws-credentials@v1
  with:
    aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
    aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
    aws-region: ${{ secrets.AWS_REGION }} 

- name: Deploying services with an env file
  uses: brunocascio/ecs-deploy@v2
  with:
    args: deploy <cluster> <service> --task <task-definition>

- name: Running tasks
  uses: brunocascio/ecs-deploy@v2
  with:
    args: run <cluster> <task-definition> -c <container> "your shell command here"

- name: Running crons
  uses: brunocascio/ecs-deploy@v2
  with:
    args: cron <cluster> <task> <rule>

Check the fabfuel/ecs-deploy for more information about what you can do with it.