Skip to content

update

update #172

Workflow file for this run

name: update
on:
schedule:
- cron: "0 8 * * *"
workflow_dispatch:
jobs:
generate_readme:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Install dependencies
run: poetry install
- name: Generate Files
run: poetry run python -u main.py --auth-token=${{ secrets.GITHUB_TOKEN }}
- name: Commit README
uses: EndBug/add-and-commit@v9
with:
author_name: Leslie Leung
author_email: [email protected]
message: "update data"
push: true