From 8ac66975ae3463c5e7f8b020bd195d00a5d62be1 Mon Sep 17 00:00:00 2001 From: jthor Date: Sat, 20 Sep 2025 15:43:00 -0400 Subject: [PATCH] trying different syntax suggested by github copilot --- .woodpecker.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index d4d2855..1240955 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -17,13 +17,8 @@ steps: commands: - tar czf /backup/obsidian-$(date +%F).tar.gz /obsidian -# Run this pipeline on a cron schedule +# Run this pipeline on a cron schedule or on manual/push events when: - event: [ manual ] ---- -when: - event: [ cron ] - cron: nightly-backup ---- -when: - event: [ push ] \ No newline at end of file + event: [ manual, push, cron ] + # Set a valid cron schedule string (example: daily at midnight) + cron: nightly-backup \ No newline at end of file