Spaces:
Running
Running
name: gather_data | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
Gather_Data: | |
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 | |
git config user.name github-actions | |
git config user.email github-actions@github.com | |
git add . | |
git commit -m "testing" | |
git push --force | |