Create a readme file automatically
name: Update README
on:
push:
schedule:
- cron: "0 */6 * * *"
jobs:
markscribe:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: muesli/readme-scribe@master
env:
GITHUB_TOKEN: ${{ secrets.GITBOOK_TOKEN }}
with:
template: "templates/README.md.tpl"
writeTo: "README.md"
- uses: actions/upload-artifact@v1
with:
name: README.md
path: README.md
- uses: stefanzweifel/git-auto-commit-action@v4
env:
GITHUB_TOKEN: ${{ secrets.GITBOOK_TOKEN }}
with:
commit_message: Update generated README
branch: master
commit_user_name: readme-scribe π€
commit_user_email: [email protected]
commit_author: readme-scribe π€ <[email protected]>Last updated