1name: Rebuild website 2on: 3 schedule: 4 - cron: '12 1 * * *' 5 6jobs: 7 rebuild: 8 runs-on: ubuntu-latest 9 steps: 10 - uses: actions/checkout@v2 11 with: 12 ref: main 13 - uses: actions/setup-python@v2 14 - name: Install dependencies 15 run: pip install -r scripts/requirements.txt 16 - name: Gather information 17 run: python3 scripts/gather.py 18 env: 19 GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} 20 - name: Build site 21 run: python3 scripts/build-site.py 22 - uses: stefanzweifel/git-auto-commit-action@v4 23 name: Commit downloaded fonts and data 24