ai.robots.txt/.github/workflows/daily_update.yml
2024-08-06 17:48:06 +01:00

22 lines
No EOL
595 B
YAML

name: Daily Update from Dark Visitors
on:
schedule:
- cron: "*/10 * * * *"
jobs:
dark-visitors:
runs-on: ubuntu-latest
name: dark-visitors
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- run: |
pip install beautifulsoup4 requests
git config --global user.name "dark-visitors"
git config --global user.email "dark-visitors@users.noreply.github.com"
python code/dark_visitors.py
git add -A
git commit -m "Daily update from Dark Visitors"
git push
shell: bash