Skip to content

crawl

crawl #2373

Workflow file for this run

name: crawl
on:
schedule:
- cron: '0 */6 * * *'
jobs:
crawltel:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: crawling-for-new-configs
run: |
pip install -r requarements.txt
python3 main.py --save --country --self-check --check
- name: commit-changes
run: |
git config --global user.name "shabane"
git config --global user.email "[email protected]"
git add hub
git commit -m "[chore](update links)"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}