From 35cd9393b337b4c6d9cf20d7e8ed11e8a7001fd7 Mon Sep 17 00:00:00 2001 From: jthor Date: Sat, 20 Sep 2025 13:47:42 -0400 Subject: [PATCH] Initial woodpecker.yml file --- .woodpecker.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .woodpecker.yml diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..30d223b --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,12 @@ +# .woodpecker.yml +pipeline: + backup: + image: alpine:latest + commands: + # Create a timestamped archive of /data and drop it into /backup + - tar czf /backup/backup-$(date +%F-%H%M).tar.gz /obsidian + +# Run this pipeline on a cron schedule +when: + event: cron + cron: nightly-backup