Skip to content

typecode/aws-copilot-github-action

 
 

Repository files navigation

AWS Copilot GitHub Action

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.

Usage

  1. 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/aws-copilot-github-action@v0.0.8
        with:
          command: install
      - run: |
          copilot --version
  1. 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/aws-copilot-github-action@v0.0.8
        with:
          command: deploy
          app: your-awesome-app
          env: prod
          force: false # optional

Optional parameters

Name

In the with attribute, the name value can be used to define the name of the job to be published

  deploy:
    steps:
      - uses: ksivamuthu/aws-copilot-github-action@v0.0.8
        with:
          command: deploy
          app: your-awesome-app
          env: prod
          name: job-name

Tag

In the with attribute, the tag value can be used to define the tag image name

  deploy:
    steps:
      - uses: ksivamuthu/aws-copilot-github-action@v0.0.8
        with:
          command: deploy
          app: your-awesome-app
          env: prod
          tag: image-name

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 56.7%
  • HTML 40.3%
  • JavaScript 2.2%
  • Dockerfile 0.8%
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy