Permalink
ae51d76 Aug 12, 2017
@antonmedv @NeoBlack
59 lines (51 sloc) 1.07 KB
<?php
/* (c) Frank Naegler <frank.naegler@typo3.org>
*
* 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';
/**
* DocumentRoot / WebRoot for the TYPO3 installation
*/
set('typo3_webroot', 'Web');
/**
* Main TYPO3 task
*/
task('deploy', [
'deploy:info',
'deploy:prepare',
'deploy:lock',
'deploy:release',
'deploy:update_code',
'deploy:shared',
'deploy:vendors',
'deploy:symlink',
'deploy:unlock',
'cleanup',
])->desc('Deploy your project');
after('deploy', 'success');
/**
* Shared directories
*/
set('shared_dirs', [
'{{typo3_webroot}}/fileadmin',
'{{typo3_webroot}}/typo3temp',
'{{typo3_webroot}}/uploads'
]);
/**
* Shared files
*/
set('shared_files', [
'{{typo3_webroot}}/.htaccess'
]);
/**
* Writeable directories
*/
set('writable_dirs', [
'{{typo3_webroot}}/fileadmin',
'{{typo3_webroot}}/typo3temp',
'{{typo3_webroot}}/typo3conf',
'{{typo3_webroot}}/uploads'
]);