Skip to content

Commit dba8f5e

Browse files
committed
tweak
1 parent 673966b commit dba8f5e

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-12
lines changed

.github/workflows/tile-join.yml

+14-11
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,37 @@ name: Merge PMTiles into tiles.pmtiles
22

33
on:
44
workflow_dispatch:
5+
pull_request:
56

67
jobs:
78
build:
89
runs-on: ubuntu-latest
10+
env:
11+
AREA: nova-scotia
912

1013
steps:
11-
- name: Maximize build space
12-
uses: AdityaGarg8/remove-unwanted-software@v2
13-
with:
14-
remove-android: 'true'
15-
remove-dotnet: 'true'
16-
remove-haskell: 'true'
17-
remove-codeql: 'true'
18-
remove-docker-images: 'true'
14+
# - name: Maximize build space
15+
# uses: AdityaGarg8/remove-unwanted-software@v2
16+
# with:
17+
# remove-android: 'true'
18+
# remove-dotnet: 'true'
19+
# remove-haskell: 'true'
20+
# remove-codeql: 'true'
21+
# remove-docker-images: 'true'
1922

2023
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2124
- uses: actions/checkout@v3
2225

2326
- name: Fetch binaries
24-
run: sudo mkdir /mnt/output && df -h && ./bin/fetch-binaries
27+
run: ls -al /mnt && sudo mkdir /mnt/output && df -h && ./bin/fetch-binaries
2528

2629
- name: Fetch PMTiles
2730
env:
2831
AWS_ENDPOINT_URL: https://ce5627cfc65c8b54d40bb91c0ba7298b.r2.cloudflarestorage.com
2932
AWS_EC2_METADATA_DISABLED: true
3033
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
3134
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
32-
run: aws s3 sync s3://hikes-public/layers/ . --no-progress --endpoint-url=https://ce5627cfc65c8b54d40bb91c0ba7298b.r2.cloudflarestorage.com
35+
run: aws s3 sync s3://hikes-public/layers/"$AREA"/ . --no-progress --endpoint-url=https://ce5627cfc65c8b54d40bb91c0ba7298b.r2.cloudflarestorage.com
3336

3437
- name: tile-join
3538
env:
@@ -42,4 +45,4 @@ jobs:
4245
AWS_EC2_METADATA_DISABLED: true
4346
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
4447
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
45-
run: sudo aws s3 cp --no-progress /mnt/output/tiles.pmtiles s3://hikes-public/tiles.pmtiles
48+
run: sudo aws s3 cp --no-progress /mnt/output/tiles.pmtiles s3://hikes-public/"$AREA".pmtiles

.github/workflows/tilemaker-layers.yml

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name: Build tilemaker layers
22

33
on:
44
workflow_dispatch:
5-
pull_request:
65

76
jobs:
87
build:

0 commit comments

Comments
 (0)