Skip to content

Readme

Readme #1393

Workflow file for this run

name: Readme
on:
pull_request:
schedule:
- cron: '0 0 * * *'
jobs:
make-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: install amaterasu
run: pip install -r requirements.txt
- name: amaterasu version
run: amaterasu -v
- name: make readme
run: amaterasu README.md.j2 > README.md
- name: git config
run: |
git config --local user.name ${{ github.actor }}
git config --local user.email ${{ github.actor }}@users.noreply.github.com
- name: commit
run: |
git add .
git commit -m "update README" || true
- name: push
if: github.event_name == 'schedule'
run: |
git push origin main