Juneyy
Update cml.yml
ace59d6 unverified
raw
history blame contribute delete
No virus
846 Bytes
name: retrain model
on:
push:
schedule:
- cron: "0 0 * * *"
jobs:
retrain_model:
runs-on: windows-latest
steps:
- name: checkout repo content
uses: actions/checkout@v4 # checkout the repository content to github runner.
- name: setup python
uses: actions/setup-python@v4
with:
python-version: 3.8 #install the python needed
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: execute py script
run: |
python scrapeandappendforecastdata.py
python modeltraining.py
git config user.name github-actions
git config user.email github-actions@github.com
git add .
git commit -m "testing"
git push --force