Skip to content

Commit

Permalink
DIG-4114: Changing s3 config target locations (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
phillipbentonkelly authored Jun 4, 2024
1 parent 7c38d36 commit 13a102f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy_to_s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 13a102f

Please sign in to comment.