From bf5683b7fd8e28f4c37a940f88e3793c1c604c50 Mon Sep 17 00:00:00 2001 From: Sean Cao Date: Mon, 21 Oct 2024 09:38:11 -0400 Subject: [PATCH] add staging and sandbox to deployment --- .github/workflows/deploy_development.yml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy_development.yml b/.github/workflows/deploy_development.yml index f2f9ebc..5ed281d 100644 --- a/.github/workflows/deploy_development.yml +++ b/.github/workflows/deploy_development.yml @@ -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: @@ -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 }} \ No newline at end of file