mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-23 08:45:04 +01:00
22 lines
426 B
PHP
22 lines
426 B
PHP
|
<?php
|
||
|
/* (c) Anton Medvedev <anton@elfet.ru>
|
||
|
*
|
||
|
* For the full copyright and license information, please view the LICENSE
|
||
|
* file that was distributed with this source code.
|
||
|
*/
|
||
|
|
||
|
require_once __DIR__ . '/common.php';
|
||
|
|
||
|
/**
|
||
|
* Main task
|
||
|
*/
|
||
|
task('deploy', [
|
||
|
'deploy:prepare',
|
||
|
'deploy:release',
|
||
|
'deploy:update_code',
|
||
|
'deploy:symlink',
|
||
|
'cleanup',
|
||
|
])->desc('Deploy your project');
|
||
|
|
||
|
after('deploy', 'success');
|