Skip to content

Commit

Permalink
Switch to osmus s3
Browse files Browse the repository at this point in the history
  • Loading branch information
quincylvania committed Jun 1, 2024
1 parent ef8d0a7 commit f4f3fee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions renderer/render_once.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ elif [[ $(stat -c %s "$PLANET") -lt $((50 * 1024 * 1024 * 1024)) ]]; then
fi

echo 'Uploading planet to s3 bucket in background'
aws s3 cp "$PLANET" s3://planet-pmtiles/ --only-show-errors &
aws s3 cp "$PLANET" s3://osmus-tile/ --only-show-errors &

# Render optional layers
for file in "$DIR/layers/"*.yml; do
Expand All @@ -82,7 +82,7 @@ for file in "$DIR/layers/"*.yml; do

echo "Uploading $layer_name to s3 bucket in background"
{
aws s3 cp "$WORKING_DIR/data/$layer_name.pmtiles" s3://planet-pmtiles/ --only-show-errors
aws s3 cp "$WORKING_DIR/data/$layer_name.pmtiles" s3://osmus-tile/ --only-show-errors
rm -rf "$WORKING_DIR/data/$layer_name.pmtiles"
} &
done
Expand Down

0 comments on commit f4f3fee

Please sign in to comment.