Merge pull request #50 from orxngc/main #73
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: README | |
on: | |
push: | |
branches: [main] | |
paths: | |
- "data/*" | |
workflow_dispatch: {} | |
jobs: | |
update: | |
name: Update | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Update README | |
run: | | |
chmod +x scripts/update-readme.sh | |
./scripts/update-readme.sh | |
- name: Commit | |
run: | | |
git config --local user.email "actions@github.com" | |
git config --local user.name "GitHub Actions" | |
git pull | |
git add README.md | |
git commit -m "docs(readme): update data" | |
git push |