Skip to content

Commit

Permalink
add staging and sandbox to deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanSCao committed Oct 21, 2024
1 parent fc08718 commit bf5683b
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/deploy_development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.SESAR_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.SESAR_AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ secrets.SESAR_AWS_REGION }}
deploy_ecs_development:
deploy_ecs_production:
needs: [build_publish_development]
uses: ./.github/workflows/deploy_ecs.yml
with:
Expand All @@ -24,4 +24,24 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.SESAR_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.SESAR_AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ secrets.SESAR_AWS_REGION }}
deploy_ecs_sandbox:
needs: [build_publish_development]
uses: ./.github/workflows/deploy_ecs.yml
with:
APPLICATION: sesar-rest-api
ENVIRONMENT: sandbox
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.SESAR_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.SESAR_AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ secrets.SESAR_AWS_REGION }}
deploy_ecs_staging:
needs: [build_publish_development]
uses: ./.github/workflows/deploy_ecs.yml
with:
APPLICATION: sesar-rest-api
ENVIRONMENT: staging
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.SESAR_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.SESAR_AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ secrets.SESAR_AWS_REGION }}

0 comments on commit bf5683b

Please sign in to comment.