Merge pull request #76 from awsjulian/awsjulian-patch-3 #11
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: Sleep for 30 seconds | |
run: sleep 30 | |
- name: Commit | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "GitHub Actions" | |
git pull | |
git add README.md | |
git commit -m "chore: update readme" | |
git push |