From e7f17945339700c35a17d0457531fe084cae4f8c Mon Sep 17 00:00:00 2001 From: Carlos Felix Date: Tue, 10 Dec 2024 16:08:01 -0500 Subject: [PATCH] Fixes for the DOI 2.0 site --- .github/workflows/deploy_backend_main.yml | 6 +++--- client/.env.development | 2 +- client/.env.production | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy_backend_main.yml b/.github/workflows/deploy_backend_main.yml index 93aae5f4..fba0cd30 100644 --- a/.github/workflows/deploy_backend_main.yml +++ b/.github/workflows/deploy_backend_main.yml @@ -104,9 +104,9 @@ jobs: - name: Deploy Score and Map to Geoplatform AWS if: ${{ env.J40_VERSION_LABEL_STRING == '2.0' }} run: | - poetry run s4cmd put ./data_pipeline/data/score/* s3://${{secrets.S3_DATA_BUCKET}}/data-versions/${{env.J40_VERSION_LABEL_STRING}}/data/score/ --sync-check --recursive --force --num-threads=250 - poetry run s4cmd put ./data_pipeline/files/* s3://${{secrets.S3_DATA_BUCKET}}/data-versions/${{env.J40_VERSION_LABEL_STRING}}/data/score/downloadable/ --sync-check --recursive --force - poetry run s4cmd put ./data_pipeline/data/tribal/* s3://${{secrets.S3_DATA_BUCKET}}/data-versions/${{env.J40_VERSION_LABEL_STRING}}/data/tribal/ --recursive --force --API-ACL=public-read --num-threads=250 + poetry run s4cmd put ./data_pipeline/data/score/* s3://${{secrets.S3_DATA_BUCKET}}/data-versions/${{env.J40_VERSION_LABEL_STRING}}/data/score/ --sync-check --recursive --force --API-ACL=public-read --num-threads=250 + poetry run s4cmd put ./data_pipeline/files/* s3://${{secrets.S3_DATA_BUCKET}}/data-versions/${{env.J40_VERSION_LABEL_STRING}}/data/score/downloadable/ --sync-check --API-ACL=public-read --recursive --force + poetry run s4cmd put ./data_pipeline/data/tribal/* s3://${{secrets.S3_DATA_BUCKET}}/data-versions/${{env.J40_VERSION_LABEL_STRING}}/data/tribal/ --recursive --force --API-ACL=public-read --num-threads=250 - name: 2.0 Post-deploy Score Check run: | curl "${{secrets.DATA_URL}}/data-versions/2.0/data/score/downloadable/2.0-data-documentation.zip" -s -f -I -o /dev/null && \ diff --git a/client/.env.development b/client/.env.development index 1146d530..3a2733d4 100644 --- a/client/.env.development +++ b/client/.env.development @@ -6,7 +6,7 @@ # Feature Tiles env variables: # The TILES_BASE_URL will be determined by the DATA_SOURCE env variable -GATSBY_CDN_TILES_BASE_URL=https://dig0wsohit6js.cloudfront.net +GATSBY_CDN_TILES_BASE_URL=https://static-data-screeningtool.geoplatform.gov GATSBY_LOCAL_TILES_BASE_URL=http://localhost:5000/data/data-pipeline GATSBY_DATA_PIPELINE_SCORE_PATH_LOCAL=data_pipeline/data/score diff --git a/client/.env.production b/client/.env.production index 546767e5..439f3249 100644 --- a/client/.env.production +++ b/client/.env.production @@ -6,7 +6,7 @@ # Feature Tiles env variables: # The TILES_BASE_URL will always point to the CDN -GATSBY_CDN_TILES_BASE_URL=https://dig0wsohit6js.cloudfront.net +GATSBY_CDN_TILES_BASE_URL=https://static-data-screeningtool.geoplatform.gov GATSBY_2_0_TRIBAL_PATH=data-versions/2.0/data/tribal