Giter VIP home page Giter VIP logo

aws-copilot-github-action's Introduction

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/[email protected]
        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/[email protected]
        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/[email protected]
        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/[email protected]
        with:
          command: deploy
          app: your-awesome-app
          env: prod
          tag: image-name

aws-copilot-github-action's People

Contributors

dependabot[bot] avatar ksivamuthu avatar pauloferreira25 avatar yanshiyason avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.