Skip to content

Rescrape

Rescrape #32

Workflow file for this run

name: Rescrape
on:
schedule:
- cron: '0 8 * * MON'
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.8
cache: 'pip'
- run: pip install -r requirements.txt
- name: Rescrape
run: |
python scrape.py
- name: Commit & Push Changes
run: |
git config user.name github-actions[bot]
git config user.email github-actions[bot]@users.noreply.github.com
git commit public/products.json -m "[Automated]: Update data"
git push