From db214435a09024d37de917ee096d450cc1694b96 Mon Sep 17 00:00:00 2001 From: Brad Bodine Date: Wed, 15 May 2024 13:01:40 -0500 Subject: [PATCH] Update prod workflow --- .github/workflows/prod.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml index 5654586..a74087b 100644 --- a/.github/workflows/prod.yml +++ b/.github/workflows/prod.yml @@ -42,16 +42,11 @@ jobs: fi echo "MY_ENV=${MY_ENV}" >> $GITHUB_ENV echo "MY_ENV=${MY_ENV}" >> $GITHUB_OUTPUT - if [ "${MY_ENV}" = "prod" ] - then - S3_BUCKET=${{ secrets.ME_SHOP_TAX_CREDIT_TOOL_BUCKET }} - CLOUDFRONT_DIST_ID=${{ secrets.ME_SHOP_TAX_CREDIT_TOOL_CF_DIST_ID }} - BASE_URL=${{ secrets.ME_SHOP_TAX_CREDIT_TOOL_BASE_URL }} - else - S3_BUCKET='dev-shop-tax-credit-tool-cme-openhbx-org-2' - CLOUDFRONT_DIST_ID='E193HLDEQL7I0G' - BASE_URL='https://dev-shop-tax-credit-tool.cme.openhbx.org/' - fi + + S3_BUCKET=${{ secrets.ME_SHOP_TAX_CREDIT_TOOL_BUCKET }} + CLOUDFRONT_DIST_ID=${{ secrets.ME_SHOP_TAX_CREDIT_TOOL_CF_DIST_ID }} + BASE_URL=${{ secrets.ME_SHOP_TAX_CREDIT_TOOL_BASE_URL }} + echo "S3_BUCKET=${S3_BUCKET}" >> $GITHUB_ENV echo "CLOUDFRONT_DIST_ID=${CLOUDFRONT_DIST_ID}" >> $GITHUB_ENV echo "BASE_URL=${BASE_URL}" >> $GITHUB_ENV