gingteam #283
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: gingteam | |
on: | |
schedule: | |
- cron: '0 0 * * *' # chạy mỗi ngày lúc 12:00 AM UTC | |
push: | |
jobs: | |
get_proxies: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Delete old proxies file | |
run: rm -f proxies.txt | |
- name: Install dependencies | |
run: pip install -r requirements.txt | |
- name: Scrapy run | |
run: scrapy crawl proxy --nolog | |
- uses: stefanzweifel/git-auto-commit-action@v4 |