-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeploy.php
More file actions
69 lines (47 loc) · 1.55 KB
/
Copy pathdeploy.php
File metadata and controls
69 lines (47 loc) · 1.55 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?php
namespace Deployer;
task('deploy', [
// Standard deployer task.
'deploy:info',
// Standard deployer task.
'deploy:setup',
// Read more on https://github.com/sourcebroker/deployer-extended#deploy-check-lock
'deploy:check_lock',
// Standard deployer task.
'deploy:lock',
// Standard deployer task.
'deploy:release',
// Transfer application to remote
'rsync',
// Standard deployer task.
'deploy:shared',
// Standard deployer task.
'deploy:writable',
// Adjust file and directory permissions (SGID, CLI binary, shared dirs).
'deploy:writable:chmod',
// Standard deployer task.
'deploy:clear_paths',
// custom database update
'deploy:database:update',
// custom task to do additional setup for framework or cms
'deploy:additional_setup',
// custom clear and warmup system specific caches
'deploy:cache:clear_and_warmup',
// Standard deployer task.
'deploy:symlink',
// Clear php cli cache.
// Read more on https://github.com/sourcebroker/deployer-extended#cache-clear-php-cli
'cache:clear_php_cli',
// Clear frontend http cache.
// Read more on https://github.com/sourcebroker/deployer-extended#cache-clear-php-http
'cache:clear_php_http',
// custom warmup task
'deploy:warmup_frontend',
// Standard deployer task.
'deploy:unlock',
// Standard deployer task.
'deploy:cleanup',
// Standard deployer task.
'deploy:success',
])->desc('Deploy your project');;
after('deploy:failed', 'deploy:unlock');