Skip to content

Commit

Permalink
Update prod workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bbodine1 committed May 15, 2024
1 parent 3b53c66 commit db21443
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit db21443

Please sign in to comment.