Skip to content

Commit

Permalink
Merge pull request #640 from NeoBlack/master
Browse files Browse the repository at this point in the history
[TASK] Add TYPO3 deployer recipe
  • Loading branch information
antonmedv committed Apr 30, 2016
2 parents 952dda7 + fc77538 commit 178f6d4
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions recipe/typo3.php
@@ -0,0 +1,53 @@
<?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'
]);

0 comments on commit 178f6d4

Please sign in to comment.