Generate data #33
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: Generate data | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- untappd.json | |
- .github/workflows/generator.yaml | |
jobs: | |
generate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: robinraju/[email protected] | |
with: | |
repository: "kyrremann/unparsd" | |
latest: true | |
fileName: "unparsd" | |
- run: | | |
chmod +x unparsd | |
./unparsd | |
- name: Commit back | |
run: | | |
git config --global user.name "$GITHUB_ACTOR" | |
git config --global user.email "[email protected]" | |
git add -A ./_data ./_monthly | |
git commit -m "ci: Genereated new data" || echo "No changes to commit" | |
git push |