Skip to content

Crawl

Crawl #226

Workflow file for this run

name: Crawl
on:
workflow_dispatch:
schedule:
- cron: '30 1 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.12
uses: actions/setup-python@v2
with:
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run script
run: python crawler.py
- name: Commit files
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action Crawl"
git add .
git commit -am "Auto update"
git push