Update staging deploy script

- update domain name
- update path
This commit is contained in:
Vim USDS 2022-08-09 04:34:03 -07:00
parent c8218d352f
commit 73ae583e1e

View file

@ -36,7 +36,7 @@ jobs:
# https://github.com/usds/justice40-tool/blob/main/client/README.md # https://github.com/usds/justice40-tool/blob/main/client/README.md
DATA_SOURCE: cdn DATA_SOURCE: cdn
SITE_URL: "${{ secrets.STAGE_SITE_URL }}" SITE_URL: "${{ secrets.STAGE_SITE_URL }}"
PATH_PREFIX: "/justice40-tool/${{env.DESTINATION_FOLDER}}" PATH_PREFIX: "/${{env.DESTINATION_FOLDER}}"
MAPBOX_STYLES_READ_TOKEN: "${{ secrets.MAPBOX_STYLES_READ_TOKEN }}" MAPBOX_STYLES_READ_TOKEN: "${{ secrets.MAPBOX_STYLES_READ_TOKEN }}"
- name: Get directory contents - name: Get directory contents
run: ls -la public run: ls -la public
@ -94,7 +94,7 @@ jobs:
# Deploy to S3 for the staging URL # Deploy to S3 for the staging URL
message: | message: |
**🚢 Here is the frontend staging link: 🚢** **🚢 Here is the frontend staging link: 🚢**
Find it here: http://usds-geoplatform-justice40-website.s3-website-us-east-1.amazonaws.com/justice40-tool/${{env.DESTINATION_FOLDER}}/en/ ! Find it here: https://screeningtool-staging.geoplatform.gov/${{env.DESTINATION_FOLDER}}/en/ !
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token-user-login: "github-actions[bot]" # The user.login for temporary GitHub tokens repo-token-user-login: "github-actions[bot]" # The user.login for temporary GitHub tokens
allow-repeats: false # This is the default allow-repeats: false # This is the default