Delete docs/NPC 北科程式設計研究社.csv #23
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |