forked from markcushman/motomap
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (33 loc) · 1 KB
/
build-maps.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
name: Build map
on:
workflow_dispatch:
inputs:
maps_list:
description: 'List of map to generate (semi-colon separated, geofabrik path format)'
default: 'antarctica;europe/andorra;europe/france/guyane'
required: true
type: string
maps_design:
description: 'Design to use for generated map'
default: 'default'
required: true
type: string
jobs:
motomap-container-job:
runs-on: ubuntu-latest
container:
image: tmesot/motomap:main
credentials:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
env:
MAPS_LIST: ${{ github.event.inputs.maps_list }}
MAPS_DESIGN: ${{ github.event.inputs.maps_design }}
steps:
- name: Run script
run: bash /motomap/motomap/motomap.sh
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: Generate map artefact
path: /motomap/output