Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
cldellow committed Jan 28, 2024
1 parent 6cbfef4 commit 87b22ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/tile-join.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: Merge PMTiles into tiles.pmtiles

on:
workflow_dispatch:
pull_request:

jobs:
build:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/tilemaker-layers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Build tilemaker layers

on:
workflow_dispatch:
pull_request:

jobs:
build:
Expand Down Expand Up @@ -57,13 +58,13 @@ jobs:
env:
TILEMAKER: /tmp/tilemaker
LAYER: ${{ matrix.layer }}
run: bun mapt build "$AREA".pbf $LAYER
run: bun mapt build "$AREA".pbf $LAYER --mbtiles

- name: Upload PMTiles
- name: Upload layer tiles
env:
AWS_ENDPOINT_URL: https://ce5627cfc65c8b54d40bb91c0ba7298b.r2.cloudflarestorage.com
AWS_EC2_METADATA_DISABLED: true
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
FILE: ${{ matrix.layer }}.pmtiles
FILE: ${{ matrix.layer }}.mbtiles
run: aws s3 cp --no-progress "$FILE" s3://hikes-public/layers/"$AREA"/"$FILE"

0 comments on commit 87b22ea

Please sign in to comment.