Przeglądaj źródła

Update README to use new command hooks in the example.

Dan Helfman 1 miesiąc temu
rodzic
commit
6c068a297a
1 zmienionych plików z 4 dodań i 2 usunięć
  1. 4 2
      README.md

+ 4 - 2
README.md

@@ -40,8 +40,10 @@ checks:
       frequency: 2 weeks
 
 # Custom preparation scripts to run.
-before_backup:
-    - prepare-for-backup.sh
+commands:
+    - before: action
+      when: [create]
+      run: [prepare-for-backup.sh]
 
 # Databases to dump and include in backups.
 postgresql_databases: