浏览代码

Update README to use new command hooks in the example.

Dan Helfman 2 月之前
父节点
当前提交
6c068a297a
共有 1 个文件被更改,包括 4 次插入2 次删除
  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: