2020-04-20 15:53:10 -05:00
|
|
|
<?php
|
|
|
|
namespace Deployer;
|
|
|
|
|
|
|
|
require_once __DIR__ . '/common.php';
|
|
|
|
|
|
|
|
set('shared_files', ['configuration.php']);
|
|
|
|
set('shared_dirs', ['images']);
|
|
|
|
set('writable_dirs', ['images']);
|
|
|
|
|
|
|
|
task('deploy', [
|
|
|
|
'deploy:info',
|
2020-04-25 23:00:08 +03:00
|
|
|
'deploy:setup',
|
2020-04-20 15:53:10 -05:00
|
|
|
'deploy:lock',
|
|
|
|
'deploy:release',
|
|
|
|
'deploy:update_code',
|
|
|
|
'deploy:shared',
|
|
|
|
'deploy:writable',
|
|
|
|
'deploy:symlink',
|
|
|
|
'deploy:unlock',
|
2020-04-25 23:00:08 +03:00
|
|
|
'deploy:cleanup',
|
2020-04-20 15:53:10 -05:00
|
|
|
])->desc('Deploy your project');
|
|
|
|
|
|
|
|
after('deploy', 'success');
|