Skip to content

Update gen.yml

Update gen.yml #18

Workflow file for this run

name: Generate HTML
on:
push:
branches:
- main
schedule:
- cron: '*/10 * * * *'
jobs:
generate-html:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.12'
- name: Run script
run: python gen.py
- name: Commit and push changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "Super Lily"
git add docs/
git commit -m "Update generated HTML files" || echo "No changes to commit"
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}