Skip to content

Build map

Build map #12

Workflow file for this run

name: Build map
on:
workflow_dispatch:
inputs:
maps_list:
description: 'List of map to generate (comma separated, geofabrik path format)'
default: 'antarctica;europe/andorra;europe/france/guyane'
required: true
type: string
jobs:
motomap-container-job:
runs-on: ubuntu-latest
container:
image: tmesot/motomap:refactor
credentials:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
env:
MAPS_LIST: ${{ github.event.inputs.maps_list }}
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