name: model-prediction on: 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 load_model.py git config user.name github-actions git config user.email github-actions@github.com git add . git commit -m "testing" git push --force