mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-22 00:03:48 +01:00
48 lines
770 B
PHP
48 lines
770 B
PHP
<?php
|
|
namespace Deployer;
|
|
|
|
require_once __DIR__ . '/common.php';
|
|
|
|
add('recipes', ['typo3']);
|
|
|
|
/**
|
|
* DocumentRoot / WebRoot for the TYPO3 installation
|
|
*/
|
|
set('typo3_webroot', 'Web');
|
|
|
|
/**
|
|
* Main TYPO3 task
|
|
*/
|
|
desc('Deploys your project');
|
|
task('deploy', [
|
|
'deploy:prepare',
|
|
'deploy:vendors',
|
|
'deploy:publish',
|
|
]);
|
|
|
|
/**
|
|
* 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'
|
|
]);
|