Files
infrastructure/.gitea/workflows/update-playlist.yml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 11: cannot unmarshal !!seq into model.Job
Alex Mickelson b6d48e8f3c
All checks were successful
Apply Kuberentes Configs / update-repo (push) Successful in 1s
Apply Kuberentes Configs / update-infrastructure (push) Successful in 1s
playlists in gitea now
2026-02-07 15:25:04 -07:00

29 lines
910 B
YAML

name: Manage Jellyfin Playlists
on:
workflow_dispatch:
schedule:
- cron: "0 * * * *"
jobs:
update-repo:
uses: ./.gitea/workflows/update-repo.yml
runs-on: home-server
run-python:
- name: Run Python script
runs-on: home-server
env:
JELLYFIN_USER: ${{ secrets.JELLYFIN_USER }}
JELLYFIN_PASSWORD: ${{ secrets.JELLYFIN_PASSWORD }}
working-directory: /home/gitea-runner/infrastructure
run: |
docker build -t jellyfin_management -f jellyfin/Dockerfile .
docker run --rm \
-e JELLYFIN_USER=$JELLYFIN_USER \
-e JELLYFIN_PASSWORD=$JELLYFIN_PASSWORD \
jellyfin_management \
-m jellyfin.update_all_songs_playlist
docker run --rm \
-e JELLYFIN_USER=$JELLYFIN_USER \
-e JELLYFIN_PASSWORD=$JELLYFIN_PASSWORD \
jellyfin_management \
-m jellyfin.update_unindexed