Skip to content

Cronjob

Cronjob #1623

Workflow file for this run

name: "Cronjob"
on:
schedule:
- cron: '15 */6 * * *'
push:
branches:
- main
jobs:
update-articles:
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Update articles
uses: huantt/[email protected]
with:
username: jacktt
limit: 5
template-file: 'README.md.template'
out-file: 'README.md'
- name: Commit
run: |
git config user.name github-actions
git config user.email [email protected]
git add .
git commit -m "update"
git push origin main