项目作者: brunocascio

项目描述 :
Github action using fabfuel/ecs-deploy script for ECS deployments
高级语言: Dockerfile
项目地址: git://github.com/brunocascio/ecs-deploy.git
创建时间: 2019-12-11T19:30:42Z
项目社区:https://github.com/brunocascio/ecs-deploy

开源协议:MIT License

下载


ECS deploy using Github Actions

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

Example usage

  1. - name: Configure AWS Credentials
  2. uses: aws-actions/configure-aws-credentials@v1
  3. with:
  4. aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
  5. aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
  6. aws-region: ${{ secrets.AWS_REGION }}
  7. - name: Deploying services with an env file
  8. uses: brunocascio/ecs-deploy@v2.2.0
  9. with:
  10. args: deploy <cluster> <service> --task <task-definition>
  11. - name: Running tasks
  12. uses: brunocascio/ecs-deploy@v2.2.0
  13. with:
  14. args: run <cluster> <task-name> -c <container> "your override shell command here"
  15. - name: Updating a cron (scheduled task)
  16. uses: brunocascio/ecs-deploy@v2.2.0
  17. with:
  18. args: cron <cluster> <task> <rule>

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