deployer/recipe/prestashop.php

56 lines
1.2 KiB
PHP
Raw Normal View History

<?php
/* (c) Leopold Jacquot <leopold.jacquot@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Deployer;
require_once __DIR__ . '/common.php';
set('shared_files', ['config/settings.inc.php', '.htaccess']);
set('shared_dirs', [
'img',
'log',
'download',
'upload',
'translations',
'mails',
'themes/default-bootstrap/lang',
'themes/default-bootstrap/mails',
'themes/default-bootstrap/pdf/lang',
]
);
set('writable_dirs', [
'img',
'log',
'cache',
'download',
'upload',
'translations',
'mails',
'themes/default-bootstrap/lang',
'themes/default-bootstrap/mails',
'themes/default-bootstrap/pdf/lang',
'themes/default-bootstrap/cache',
]
);
task('deploy', [
'deploy:info',
2020-04-25 23:00:08 +03:00
'deploy:setup',
'deploy:lock',
'deploy:release',
'deploy:update_code',
'deploy:shared',
'deploy:vendors',
'deploy:writable',
'deploy:symlink',
'deploy:unlock',
2020-04-25 23:00:08 +03:00
'deploy:cleanup',
]
)->desc('Deploy your project');
after('deploy', 'success');