Skip to content

robertomoutinho/gh-action-ecs-deploy

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gh-action-ecs-deploy

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

Example usage

- name: Checkout AWS ECS Deploy GH Action
    uses: actions/checkout@v2
    with:
      repository: robertomoutinho/gh-action-ecs-deploy
      token: ${{ github.token }}
      path: ./.github/actions/ecs-deploy

- name: Deploy App to ECS Service
    uses: ./.github/actions/ecs-deploy
    with:
      app_repo_url: ${{ env.ecr_repository }}
      app_version: ${{ env.GITHUB_SHA_SHORT }}
      ecs_cluster: 'production'
      ecs_service: 'web-app'
      ecs_container_name: 'web'
      aws_region: 'us-east-1'
      aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
      aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published