Run forecast #83
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: Run forecast | |
on: | |
schedule: | |
- cron: "0 9 * * *" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repo content | |
uses: actions/checkout@v2 | |
- name: setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: install python packages | |
run: | | |
python -m pip install --upgrade pip | |
pip install -e . | |
- name: upload forecast to Hugging Face | |
env: | |
HF_TOKEN: ${{ secrets.HF_TOKEN_PUSH }} | |
HF_REPO: ${{ secrets.HF_REPO }} | |
run: | | |
python scripts/hf_upload.py | |