mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-24 09:12:51 +01:00
54 lines
1014 B
PHP
54 lines
1014 B
PHP
|
<?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.
|
||
|
*/
|
||
|
|
||
|
require_once __DIR__ . '/common.php';
|
||
|
|
||
|
/**
|
||
|
* DocumentRoot / WebRoot for the TYPO3 installation
|
||
|
*/
|
||
|
env('typo3_webroot', 'Web');
|
||
|
|
||
|
/**
|
||
|
* Main TYPO3 task
|
||
|
*/
|
||
|
task('deploy', [
|
||
|
'deploy:prepare',
|
||
|
'deploy:release',
|
||
|
'deploy:update_code',
|
||
|
'deploy:shared',
|
||
|
'deploy:vendors',
|
||
|
'deploy:symlink',
|
||
|
'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'
|
||
|
]);
|