Skip to content

Commit

Permalink
Add name option
Browse files Browse the repository at this point in the history
  • Loading branch information
keichan34 committed Feb 6, 2024
1 parent 70a960a commit 1c20998
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ inputs:
required: true
default: './'

NAME:
description: 'Geolonia SmartMap で表示するときの表示名'
required: true
default: 'Geolonia SmartMap サンプルマップ'

MUNICIPALITY_CODE:
description: '全国地方公共団体コード (5桁)'
required: true
Expand All @@ -21,5 +26,6 @@ runs:
image: 'Dockerfile'
env:
INPUT_DIR: ${{ inputs.INPUT_DIR }}
TILESET_NAME: ${{ inputs.NAME }}
MUNICIPALITY_CODE: ${{ inputs.MUNICIPALITY_CODE }}
DEPLOY_S3_BUCKET: ${{ inputs.DEPLOY_S3_BUCKET }}
1 change: 1 addition & 0 deletions bin/merge_mbtiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ fi
echo "Merging ${MBTILES_LIST[@]} into ./$MUNICIPALITY_CODE.mbtiles"

tile-join \
--name="${TILESET_NAME}" \
--force \
--overzoom \
--no-tile-size-limit \
Expand Down

0 comments on commit 1c20998

Please sign in to comment.