libation sync
All checks were successful
Apply Kuberentes Configs / update-repo (push) Successful in 1s
Apply Kuberentes Configs / update-infrastructure (push) Successful in 1s

This commit is contained in:
2026-02-07 15:20:47 -07:00
parent faf0ac890a
commit 8dfc29071e
2 changed files with 5 additions and 49 deletions

View File

@@ -1,16 +1,18 @@
name: Libation name: Libation
on: on:
schedule: schedule:
# Run 4 times a day: 6am, 12pm, 6pm, 12am UTC
- cron: '0 6,12,18,0 * * *' - cron: '0 6,12,18,0 * * *'
workflow_dispatch: # Allow manual trigger workflow_dispatch:
jobs: jobs:
update-repo:
uses: ./.gitea/workflows/update-repo.yml
runs-on: home-server
sync-audiobooks: sync-audiobooks:
runs-on: [home-server] runs-on: [home-server]
steps: steps:
- name: Run Libation sync - name: Run Libation sync
working-directory: /home/gitea-runner/infrastructure/infrastructure/home-server/libation working-directory: /home/gitea-runner/infrastructure/home-server/libation
run: | run: |
echo "Starting Libation audiobook sync at $(date)" echo "Starting Libation audiobook sync at $(date)"
docker compose pull -q docker compose pull -q

View File

@@ -1,46 +0,0 @@
name: ZFS Backup
on:
schedule:
- cron: 0 1 * * *
workflow_dispatch:
jobs:
update-infrastructure:
runs-on: [self-hosted, home-server]
steps:
- name: run syncoid
run: |
zpool status
echo ""
zfs list
echo ""
syncoid \
--recursive \
--no-privilege-elevation \
data-ssd/data \
backup/data
syncoid \
--recursive \
--no-privilege-elevation \
data-ssd/media \
backup/media
# steps:
# - name: run syncoid
# run: |
# zpool status
# echo ""
# zfs list
# echo ""
# syncoid \
# --recursive \
# --no-privilege-elevation \
# --no-rollback \
# data-ssd/data \
# backup/data
# syncoid \
# --recursive \
# --no-privilege-elevation \
# --no-rollback \
# data-ssd/media \
# backup/media