Skip to content

scrape, generate and push #30932

scrape, generate and push

scrape, generate and push #30932

Workflow file for this run

name: scrape, generate and push
#on: push
on:
schedule:
- cron: "0 * * * *"
workflow_dispatch:
jobs:
update_data:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Run image
uses: abatilo/[email protected]
# #with:
# poetry-version: ${{ matrix.poetry-version }}
- name: make env - run poetry install
run: make env
- name: scrape trackers and update output
run: make scrape
- name: setup git config
run: |
git config user.name "GitHub Actions Bot"
git config user.email "<[email protected]>"
- name: git st
run: git status
- name: git add
run: git add -f data/ltc.sqlite output/torrent.json output/torrent.html output/stats.html
- name: git commit
run: git commit -m "auto update at $(date)"
- name: git push
run: git push