forked from deployphp/deployer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypo3.php
45 lines (39 loc) · 769 Bytes
/
typo3.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
namespace Deployer;
require_once __DIR__ . '/common.php';
/**
* DocumentRoot / WebRoot for the TYPO3 installation
*/
set('typo3_webroot', 'Web');
/**
* Main TYPO3 task
*/
task('deploy', [
'deploy:prepare',
'deploy:vendors',
'deploy:publish',
])->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'
]);