Daily Run #1295
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: Daily Run | |
on: | |
workflow_dispatch: | |
schedule: | |
# run everyday at 7am EST | |
- cron: "0 11 * * *" | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Setup Python 3.11 | |
uses: actions/setup-python@v4 | |
with: | |
python-version-file: '.python-version' | |
cache: pip | |
- name: Install Requirements | |
run: | | |
python -m pip install pip wheel --upgrade | |
python -m pip install -r requirements.txt | |
- name: Run Code | |
run: python main.py | |
env: | |
CONFIG_DATA: ${{ secrets.CONFIG_DATA }} |