Cronjob #63
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: "Cronjob" | |
on: | |
schedule: | |
- cron: '15 0 * * *' | |
jobs: | |
update-articles: | |
permissions: write-all | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Generate README | |
uses: huantt/article-listing@v1.1.0 | |
with: | |
username: Godot | |
template-file: 'README.md.template' | |
out-file: 'README.md' | |
limit: 5 | |
- name: Commit | |
run: | | |
git config user.name github-actions | |
git config user.email github-actions@github.com | |
git add . | |
git commit -m "update articles" | |
git push origin main |