Skip to content

Scheduler

Scheduler #180

Workflow file for this run

name: Scheduler
on:
schedule:
- cron: "0 0 * * 1"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Scraper
run: python main.py
- name: git setting
run: |
git config --local user.email ${{ secrets.EMAIL }}
git config --local user.name ${{ secrets.USERNAME }}
- name: Commit files
run: |
git add .
git commit -m "Add csv" -a
git pull
git push origin main