Skip to content

Opinionated convenience wrapper action for applications to deploy to AWS ECS or Fly.io

License

Notifications You must be signed in to change notification settings

opengovsg/deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Deploy

An opinionated convenience wrapper action for applications to deploy to AWS ECS or Fly.io

Quickstart

  jobs:
    deploy:
      uses: opengovsg/deploy/.github/workflows/deploy.yml@latest
    secrets:
      # Set AWS secrets if you want to deploy to AWS
      aws-account-id: ${{ secrets.AWS_ACCOUNT_ID }}
      aws-role-arn: ${{ secrets.AWS_ROLE_ARN }}
      aws-region: ${{ secrets.AWS_REGION }}
      aws-ecr-repo: ${{ secrets.ECR_REPO }}
      # Set Fly.io secrets if you want to deploy to AWS
      fly-org-name: ${{ secrets.ORG_NAME }}
      fly-app-name: ${{ secrets.APP_NAME }}
      fly-api-token: ${{ secrets.FLY_API_TOKEN }}
    with:
      env: 'stg'
      image-tag: ghactions-${{ github.ref_name }}-${{ github.sha }}
      # Optional; defaults shown
      ecs-cluster-name: 'cluster-application-server'
      ecs-service-name: 'application-server'
      ecs-container-name: 'app-server'
      codedeploy-application: 'AppECS-cluster-application-server'
      codedeploy-deployment-group: 'DgpECS-cluster-application-server'

About

Opinionated convenience wrapper action for applications to deploy to AWS ECS or Fly.io

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published