fix #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: csv to json | |
on: | |
push: | |
paths: | |
- '*.csv' | |
- '.github/workflows/csv2json.yml' | |
workflow_dispatch: | |
jobs: | |
csv-to-json: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout the repo | |
uses: actions/checkout@v2 | |
- name: generate urlgen.json | |
run: | | |
python3 csv2json.py urlgen.csv docs/urlgen.json | |
- name: save changes | |
run: | | |
git config user.name github-actions | |
git config user.email 41898282+github-actions[bot]@users.noreply.github.com | |
git commit --all --message "饾殞饾殯饾殬饾殫饾殝饾殬饾殱" || echo "no changes to commit" | |
git push |