Main #680
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: Main | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
update-data: | |
name: Update sources | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v3 | |
- name: Install dependencies | |
run: pip install -r requirements.txt | |
- name: Update sources | |
run: python main.py | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v9 | |
with: | |
message: Updated sources | |
default_author: github_actions |