ok
All checks were successful
ci/woodpecker/push/regen-update-pipeline Pipeline was successful

This commit is contained in:
2025-09-20 23:05:58 -04:00
parent 75d04d5d18
commit 17a8970b25
2 changed files with 10 additions and 2 deletions

View File

@@ -3,10 +3,15 @@ type: docker
name: regen-backup-pipeline
# Only run this pipeline when the manifest changes
# when:
# path:
# include:
# - backup-paths.json
when:
path:
event:
include:
- backup-paths.json
- push
steps:
- name: regenerate

View File

@@ -15,6 +15,9 @@ steps:
image: alpine:3
volumes:
- {{ backup.path }}:/mnt/{{ backup.name }}
when:
event: [ push, manual, cron ]
cron: nightly-backup
commands:
- echo "Backing up {{ backup.path }}"
- tar czf /tmp/{{ backup.name }}.tar.gz /mnt/{{ backup.name }}