Add cron job and script for generating expenses

This commit is contained in:
Fundor333
2026-01-28 15:49:43 +01:00
parent e9483dcd97
commit 61c5af4c04
2 changed files with 43 additions and 0 deletions

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

@@ -0,0 +1,30 @@
name: Cron Appletune
on:
schedule:
- cron: "0 */6 * * *"
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@v6
with:
python-version: "3.12"
cache: "pip" # caching pip dependencies
- name: Install Pip dependencies
run: pip install -r requirements.txt
- name: Run Anylist
run: python ./action_script/appletune_run.py