From fb3ccb426af4f9b52d20d3c462d6eabb3a51c27d Mon Sep 17 00:00:00 2001 From: jthor Date: Sat, 20 Sep 2025 17:39:37 -0400 Subject: [PATCH] ok then --- .woodpecker.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 3dc2ab9..6b78d00 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -8,19 +8,15 @@ steps: - echo "Listing mount points..." - ls -ld /obsidian /backup - ls -l /backup + when: + event: [ push, manual, cron ] - backup-on-push: + backup: <<: *defaults volumes: *vols - commands: &backup-cmd + commands: - tar czf /backup/obsidian-$(date +%F).tar.gz /obsidian when: - event: [ push, manual ] - - backup-on-cron: - <<: *defaults - volumes: *vols - commands: *backup-cmd - when: - event: [ cron ] + event: [ push, manual, cron ] cron: nightly-backup + depends_on: [ sanity-check ]