generate-forecast #3
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
on: | |
workflow_dispatch: | |
# schedule: | |
# - cron: '0 20 * * *' | |
name: generate-forecast | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: eco4cast/usgsrc4cast-python:latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
with: | |
ref: main | |
- name: Install Python packages | |
run: | | |
pip install --upgrade pip | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
- name: Generate forecasts | |
run: | | |
python3 forecast_model.py |