Add Anilist cron workflow and script for weekly updates

This commit is contained in:
Fundor333
2025-05-09 13:52:01 +02:00
parent 2b9d2656e2
commit ee61c9e91e
71 changed files with 38 additions and 3 deletions

30
.github/workflows/anilist.yml vendored Normal file
View File

@@ -0,0 +1,30 @@
name: Anilist Cron
on:
schedule:
- cron: "0 */10 * * *"
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
Anilist:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@master
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13"
cache: "pip" # caching pip dependencies
- name: Install Pip dependencies
run: pip install -r requirements.txt
- name: Run Anylist
run: python ./action_script/aniist_run.py