restore esential github workflows
Some checks failed
Update home server containers / update-repo (push) Failing after 0s
Update home server containers / update-infrastructure (push) Has been skipped
Apply Kuberentes Configs / update-repo (push) Failing after 0s
Apply Kuberentes Configs / update-infrastructure (push) Has been skipped
Libation / sync-audiobooks (push) Failing after 0s
Manage Jellyfin Playlists / run-python (push) Failing after 0s
ZFS Backup / update-infrastructure (push) Successful in 1m10s
Some checks failed
Update home server containers / update-repo (push) Failing after 0s
Update home server containers / update-infrastructure (push) Has been skipped
Apply Kuberentes Configs / update-repo (push) Failing after 0s
Apply Kuberentes Configs / update-infrastructure (push) Has been skipped
Libation / sync-audiobooks (push) Failing after 0s
Manage Jellyfin Playlists / run-python (push) Failing after 0s
ZFS Backup / update-infrastructure (push) Successful in 1m10s
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
name: Beets
|
||||
on:
|
||||
# schedule:
|
||||
# # Run 4 times a day: 6am, 12pm, 6pm, 12am UTC
|
||||
# - cron: '0 6,12,18,0 * * *'
|
||||
workflow_dispatch: # Allow manual trigger
|
||||
|
||||
jobs:
|
||||
sync-beets:
|
||||
runs-on: [home-server]
|
||||
steps:
|
||||
- name: Run Beets sync
|
||||
working-directory: /home/gitea-runner/infrastructure/infrastructure/home-server/beets
|
||||
run: |
|
||||
git pull
|
||||
docker compose pull -q
|
||||
docker compose up -d
|
||||
docker compose restart
|
||||
sleep 2
|
||||
docker exec -u 1000 beets bash -c 'beet -v import -i -q /managed/*' || true
|
||||
# Clean up empty directories after import (but not /managed itself)
|
||||
docker exec -u 1000 beets bash -c 'find /managed -mindepth 1 -type d -empty -delete' || true
|
||||
echo "Beets sync completed"
|
||||
Reference in New Issue
Block a user