From 1c209984d31c1661ce75284a056f575e312e4410 Mon Sep 17 00:00:00 2001 From: Keitaroh Kobayashi Date: Tue, 6 Feb 2024 16:33:36 +0900 Subject: [PATCH] Add name option --- action.yml | 6 ++++++ bin/merge_mbtiles.sh | 1 + 2 files changed, 7 insertions(+) diff --git a/action.yml b/action.yml index d5ef4ff..b7148a2 100644 --- a/action.yml +++ b/action.yml @@ -7,6 +7,11 @@ inputs: required: true default: './' + NAME: + description: 'Geolonia SmartMap で表示するときの表示名' + required: true + default: 'Geolonia SmartMap サンプルマップ' + MUNICIPALITY_CODE: description: '全国地方公共団体コード (5桁)' required: true @@ -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 }} diff --git a/bin/merge_mbtiles.sh b/bin/merge_mbtiles.sh index b11c39b..d316db8 100755 --- a/bin/merge_mbtiles.sh +++ b/bin/merge_mbtiles.sh @@ -24,6 +24,7 @@ fi echo "Merging ${MBTILES_LIST[@]} into ./$MUNICIPALITY_CODE.mbtiles" tile-join \ + --name="${TILESET_NAME}" \ --force \ --overzoom \ --no-tile-size-limit \