Files
backups/.woodpecker.yml
jthor 847872b7b0
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
testing
2025-09-20 15:46:42 -04:00

16 lines
331 B
YAML

steps:
backup-on-push:
image: alpine
commands:
- tar czf /backup/obsidian-$(date +%F).tar.gz /obsidian
when:
event: [ push, manual ]
backup-on-cron:
image: alpine
commands:
- tar czf /backup/obsidian-$(date +%F).tar.gz /obsidian
when:
event: [ cron ]
cron: nightly-backup