Runs a one-off task on AWS ECS Fargate.
Usage
- name: Run migration
uses: noelzubin/[email protected]
with:
cluster: staging
service: service
- name: Run more Migrations
uses: noelzubin/[email protected]
with:
cluster: staging
service: service
override-container: server
override-container-command: |
sh
-c
cd database && python migrate.py
See action.yml file for the full documentation of this action's inputs and outputs.
This action relies on the default behavior of the AWS SDK for Javascript to determine AWS credentials and region.
Use the aws-actions/configure-aws-credentials
action to configure the GitHub Actions environment with environment variables containing AWS credentials and your desired region.
This code is made available under the MIT license.