Skip to content

Commit

Permalink
Fix prefix when using default bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
keichan34 committed Dec 18, 2023
1 parent 00100e7 commit 40a4c85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ cp ./$MUNICIPALITY_CODE.json /github/workspace
PREFIX="/"

if [[ "$DEPLOY_S3_BUCKET" == "smartcitystandaloneinfra-smartcitystandaloneinfra-w7czadiwetse" ]]; then
PREFIX="data/repo:$GITHUB_REPOSITORY:ref:$GITHUB_REF/"
PREFIX="/data/repo:$GITHUB_REPOSITORY:ref:$GITHUB_REF/"
echo "Uploading to https://d1ejkd31ehnyp8.cloudfront.net/$PREFIX/$MUNICIPALITY_CODE.pmtiles"
fi

Expand Down

0 comments on commit 40a4c85

Please sign in to comment.