-
Notifications
You must be signed in to change notification settings - Fork 3
42 lines (35 loc) · 1.01 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build-tile:
runs-on: ubuntu-latest
name: Test this action
permissions:
contents: read
id-token: write
pages: write
outputs:
pmtiles_url: ${{ steps.upload-action.outputs.pmtiles_url }}
steps:
- name: checkout
uses: actions/checkout@v4
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: 'arn:aws:iam::910320664791:role/SmartcityStandaloneInfraA-SmartcityStandaloneInfraA-MlMTQc5HZbN7'
aws-region: ap-northeast-1
- name: Run this action
id: upload-action
uses: ./
with:
INPUT_DIR: './docs'
MUNICIPALITY_CODE: '00000'
- name: Smartmap
run: |
echo "下記のURLでプレビューを開けます"
echo https://geolonia.github.io/smartcity-smartmap/#/?endpointUrl=${{ steps.upload-action.outputs.pmtiles_url }}