From 13a102fe2775498d09030d76366dfc9166a9fbdb Mon Sep 17 00:00:00 2001 From: "Phillip B. Kelly" Date: Tue, 4 Jun 2024 13:31:23 -0400 Subject: [PATCH] DIG-4114: Changing s3 config target locations (#256) --- .github/workflows/deploy_to_s3.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy_to_s3.yml b/.github/workflows/deploy_to_s3.yml index 089c996..166ca41 100644 --- a/.github/workflows/deploy_to_s3.yml +++ b/.github/workflows/deploy_to_s3.yml @@ -38,17 +38,17 @@ jobs: - name: Set Variables run: | if [[ "${{ github.ref_name }}" == "deploy-dev" ]]; then - echo "BUCKET_NAME=cob-digital-apps-staging-static" >> "${GITHUB_ENV}" + echo "BUCKET_NAME=cob-digital-apps-staging-config" >> "${GITHUB_ENV}" + echo "S3_DEST_DIR='access-boston/dev'" >> "${GITHUB_ENV}" echo "SOURCE_DIR='src/configs/dev'" >> "${GITHUB_ENV}" - echo "S3_DEST_DIR='access-boston-config/dev'" >> "${GITHUB_ENV}" elif [[ "${{ github.ref_name }}" == "deploy-test" ]]; then - echo "BUCKET_NAME=cob-digital-apps-staging-static" >> "${GITHUB_ENV}" + echo "BUCKET_NAME=cob-digital-apps-staging-config" >> "${GITHUB_ENV}" + echo "S3_DEST_DIR='access-boston/test'" >> "${GITHUB_ENV}" echo "SOURCE_DIR='src/configs/test'" >> "${GITHUB_ENV}" - echo "S3_DEST_DIR='access-boston-config/test'" >> "${GITHUB_ENV}" elif [[ "${{ github.ref_name }}" == "deploy-prod" ]]; then - echo "BUCKET_NAME=cob-digital-apps-staging-static" >> "${GITHUB_ENV}" + echo "BUCKET_NAME=cob-digital-apps-staging-config" >> "${GITHUB_ENV}" + echo "S3_DEST_DIR='access-boston/prod'" >> "${GITHUB_ENV}" echo "SOURCE_DIR='src/configs/prod'" >> "${GITHUB_ENV}" - echo "S3_DEST_DIR='access-boston-config/prod'" >> "${GITHUB_ENV}" fi if [[ ${{ vars.S3_DRY_RUN }} == 1 ]];then echo "S3_DEST_DIR='DRY_RUN/'" >> "${GITHUB_ENV}"