testing
Some checks failed
ci/woodpecker/push/regen-update-pipeline Pipeline failed

This commit is contained in:
2025-09-20 22:48:58 -04:00
parent fb3ccb426a
commit af35a78f7e
5 changed files with 84 additions and 22 deletions

22
.woodpecker.yml.original Normal file
View File

@@ -0,0 +1,22 @@
steps:
sanity-check: &defaults
image: alpine
volumes: &vols
- "/Users/jthor/Obsidian/My Vault:/obsidian"
- "/Volumes/What/backup:/backup"
commands:
- echo "Listing mount points..."
- ls -ld /obsidian /backup
- ls -l /backup
when:
event: [ push, manual, cron ]
backup:
<<: *defaults
volumes: *vols
commands:
- tar czf /backup/obsidian-$(date +%F).tar.gz /obsidian
when:
event: [ push, manual, cron ]
cron: nightly-backup
depends_on: [ sanity-check ]