libation scheduling
This commit is contained in:
18
.github/workflows/libation-sync.yml
vendored
Normal file
18
.github/workflows/libation-sync.yml
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
name: Libation Audiobook Sync
|
||||
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-audiobooks:
|
||||
runs-on: [home-server]
|
||||
steps:
|
||||
- name: Run Libation sync
|
||||
working-directory: /home/github/infrastructure/infrastructure/home-server/libation
|
||||
run: |
|
||||
echo "Starting Libation audiobook sync at $(date)"
|
||||
docker compose pull -q
|
||||
docker compose run --rm libation
|
||||
echo "Libation sync completed at $(date)"
|
||||
Reference in New Issue
Block a user