Skip to content

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

License

Notifications You must be signed in to change notification settings

brunocascio/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

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.2.0
  with:
    args: deploy <cluster> <service> --task <task-definition>

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

- name: Updating a cron (scheduled task)
  uses: brunocascio/ecs-deploy@v2.2.0
  with:
    args: cron <cluster> <task> <rule>

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