crawl #591
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
- 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 }} | |