Skip to content

Commit 0a4017d

Browse files
committed
tweak
1 parent dba8f5e commit 0a4017d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/tile-join.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- uses: actions/checkout@v3
2525

2626
- name: Fetch binaries
27-
run: ls -al /mnt && sudo mkdir /mnt/output && df -h && ./bin/fetch-binaries
27+
run: sudo mkdir /mnt/output && sudo chown ubuntu:ubuntu /mnt/output && ./bin/fetch-binaries
2828

2929
- name: Fetch PMTiles
3030
env:
@@ -37,12 +37,12 @@ jobs:
3737
- name: tile-join
3838
env:
3939
TILEMAKER: /tmp/tilemaker
40-
run: sudo /tmp/tile-join --no-tile-size-limit -o /mnt/output/tiles.pmtiles *.pmtiles
40+
run: /tmp/tile-join --no-tile-size-limit -o /mnt/output/tiles.pmtiles *.pmtiles
4141

4242
- name: Upload PMTiles
4343
env:
4444
AWS_ENDPOINT_URL: https://ce5627cfc65c8b54d40bb91c0ba7298b.r2.cloudflarestorage.com
4545
AWS_EC2_METADATA_DISABLED: true
4646
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
4747
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
48-
run: sudo aws s3 cp --no-progress /mnt/output/tiles.pmtiles s3://hikes-public/"$AREA".pmtiles
48+
run: aws s3 cp --no-progress /mnt/output/tiles.pmtiles s3://hikes-public/"$AREA".pmtiles

0 commit comments

Comments
 (0)