deployer/recipe/typo3.php

48 lines
770 B
PHP
Raw Normal View History

2016-04-27 13:25:53 +02:00
<?php
namespace Deployer;
2016-04-27 13:25:53 +02:00
require_once __DIR__ . '/common.php';
2020-10-25 16:00:05 +01:00
add('recipes', ['typo3']);
2016-04-27 13:25:53 +02:00
/**
* DocumentRoot / WebRoot for the TYPO3 installation
*/
set('typo3_webroot', 'Web');
2016-04-27 13:25:53 +02:00
/**
* Main TYPO3 task
2016-04-27 13:25:53 +02:00
*/
desc('Deploys your project');
task('deploy', [
'deploy:prepare',
'deploy:vendors',
'deploy:publish',
]);
2016-04-27 13:25:53 +02:00
/**
* Shared directories
*/
set('shared_dirs', [
'{{typo3_webroot}}/fileadmin',
'{{typo3_webroot}}/typo3temp',
'{{typo3_webroot}}/uploads'
]);
/**
* Shared files
*/
set('shared_files', [
'{{typo3_webroot}}/.htaccess'
2016-04-27 13:25:53 +02:00
]);
/**
* Writeable directories
*/
set('writable_dirs', [
'{{typo3_webroot}}/fileadmin',
'{{typo3_webroot}}/typo3temp',
'{{typo3_webroot}}/typo3conf',
'{{typo3_webroot}}/uploads'
2016-04-27 13:25:53 +02:00
]);