You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
AWS Copilot
v0.0.3
This repo contains the github actions for installing AWS Copilot cli and deploying app. The AWS Copilot CLI is a tool for developers to build, release and operate production ready containerized applications on AWS App Runner, Amazon ECS, and AWS Fargate.
- To install copilot-cli in your github actions.
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: arn:aws:iam::111111111111:role/my-github-actions-role-test
aws-region: us-east-1
- uses: ksivamuthu/[email protected]
with:
command: install
- run: |
copilot --version
- To deploy the app
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: arn:aws:iam::111111111111:role/my-github-actions-role-test
aws-region: us-east-1
- uses: ksivamuthu/[email protected]
with:
command: deploy
app: your-awesome-app
env: prod
force: false # optional