Skip to content

utrustdev/action-deploy-ecs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

Github Action - Deploy to ECS

Applies a given task definition to a running service

Usage

jobs:
  deploy:
    steps:
      - name: Configure AWS credentials
        id: aws_credentials
        uses: aws-actions/configure-aws-credentials@v1-node16
        with:
          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
          aws-region: aws-region-1

      - name: Deploy to ECS
        uses: utrustdev/actions-deploy-ecs@master
        with:
          task-definition: ${{ steps.task_def.outputs.file }}
          service: <service>
          cluster: <cluster>
          aws_role: arn:aws:iam::111111111111:role/my-github-actions-role-test
          aws_region: ${{ secrets.AWS_REGION }}
          role-duration-seconds: <value> # Optional. Will default to 1 hour
          wait-for-service-stability: <boolean> # Optional. Default to false

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published