Hugh Rundle
2c3cd34cd3
- PR are now only tagged - topo merge is done on push to master, not as part of PR - this should resolve problems with arbitrary forked branches
29 lines
555 B
YAML
29 lines
555 B
YAML
name: topo update (push)
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'master'
|
|
paths:
|
|
- 'website/data/library_services_information.csv'
|
|
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
auto-topo-updater:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
ref: ${{ github.head_ref }}
|
|
fetch-depth: 0
|
|
|
|
- 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
|