mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-22 08:12:29 +01:00
23 lines
424 B
PHP
23 lines
424 B
PHP
<?php
|
|
namespace Deployer;
|
|
|
|
require_once __DIR__ . '/common.php';
|
|
|
|
add('recipes', ['codeigniter']);
|
|
|
|
// CodeIgniter shared dirs
|
|
set('shared_dirs', ['application/cache', 'application/logs']);
|
|
|
|
// CodeIgniter writable dirs
|
|
set('writable_dirs', ['application/cache', 'application/logs']);
|
|
|
|
/**
|
|
* Main task
|
|
*/
|
|
desc('Deploys your project');
|
|
task('deploy', [
|
|
'deploy:prepare',
|
|
'deploy:vendors',
|
|
'deploy:publish',
|
|
]);
|