public_library_map/.github/workflows/update-topo-on-push.yml

30 lines
616 B
YAML
Raw Normal View History

name: topo update (push)
2021-01-29 19:03:47 +11:00
on:
push:
branches:
- 'master'
2021-01-29 19:03:47 +11:00
paths:
- 'website/data/library_services_information.csv'
workflow_dispatch:
2021-01-29 19:03:47 +11:00
jobs:
auto-topo-updater:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
2021-01-29 19:03:47 +11:00
- name: Merge CSV to TopoJSON
run: |
python3 ./.github/scripts/merge_csv_to_topojson.py
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: merge csv data to topo
commit_author: Library Map Bot <librarymap@hugh.run>