-
Notifications
You must be signed in to change notification settings - Fork 1
/
hooks.php
44 lines (39 loc) · 1.07 KB
/
hooks.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php return array(
// Tasks
//
// Here you can define in the `before` and `after` array, Tasks to execute
// before or after the core Rocketeer Tasks. You can either put a simple command,
// a closure which receives a $task object, or the name of a class extending
// the Rocketeer\Traits\Task class
//
// In the `custom` array you can list custom Tasks classes to be added
// to Rocketeer. Those will then be available in the command line
// with all the other tasks
//////////////////////////////////////////////////////////////////////
// Tasks to execute before the core Rocketeer Tasks
'before' => array(
'setup' => array(),
'deploy' => array('BackupPlugins'),
'cleanup' => array()
),
// Tasks to execute after the core Rocketeer Tasks
'after' => array(
'setup' => array(),
'deploy' => array(
'Permissions',
'WPConfig'
),
'cleanup' => array(),
),
// Custom Tasks to register with Rocketeer
'custom' => array(
'Permissions',
'BackupPlugins',
'RestorePlugins',
'DBPull',
'DBPush',
'WPConfig',
'UploadsPull',
'UploadsPush'
),
);