diff --git a/.github/workflows/deploy_main.yml b/.github/workflows/deploy_main.yml index 1d821a69..08c1a00d 100644 --- a/.github/workflows/deploy_main.yml +++ b/.github/workflows/deploy_main.yml @@ -38,7 +38,7 @@ jobs: # https://github.com/usds/justice40-tool/blob/main/client/README.md DATA_SOURCE: cdn # TODO: Update main URL when either is back up - SITE_URL: https://d29zfl8cj7y1zf.cloudfront.net/ + SITE_URL: "${{ secrets.PROD_SITE_URL }}" MAPBOX_STYLES_READ_TOKEN: "${{ secrets.MAPBOX_STYLES_READ_TOKEN }}" - name: Get directory contents run: ls -la public diff --git a/.github/workflows/deploy_staging.yml b/.github/workflows/deploy_staging.yml index 586cd24b..904653ee 100644 --- a/.github/workflows/deploy_staging.yml +++ b/.github/workflows/deploy_staging.yml @@ -36,7 +36,7 @@ jobs: # See the client readme for more info on environment variables: # https://github.com/usds/justice40-tool/blob/main/client/README.md DATA_SOURCE: cdn - SITE_URL: "http://usds-geoplatform-justice40-website.s3-website-us-east-1.amazonaws.com/" + SITE_URL: "${{ secrets.STAGE_SITE_URL }}" PATH_PREFIX: "/justice40-tool/${{env.DESTINATION_FOLDER}}" MAPBOX_STYLES_READ_TOKEN: "${{ secrets.MAPBOX_STYLES_READ_TOKEN }}" - name: Get directory contents