fixes paths in shared dirs

parent 01765b31
Pipeline #68 passed with stages
in 1 minute and 4 seconds
......@@ -27,10 +27,10 @@ build:
deploy-master:
stage: deploy
script:
- ./.gitlab-ci/scripts/deployer.sh ${CI_BUILD_REF_NAME}
- ./.gitlab-ci/scripts/deployer.sh -f/src/.gitlab-ci/deployer/deploy.php deploy master
environment:
name: master
url: https://t3o-master.typo3.org/
url: https://extensions.typo3.org/
when: manual
only:
- master
......@@ -38,10 +38,10 @@ deploy-master:
deploy-develop:
stage: deploy
script:
- ./.gitlab-ci/scripts/deployer.sh -f/src/data/etc/deployer/ter/deploy.php deploy ${CI_BUILD_REF_NAME}
- ./.gitlab-ci/scripts/deployer.sh -f/src/.gitlab-ci/deployer/deploy.php deploy develop
environment:
name: develop
url: https://t3o-develop.typo3.org/
url: https://extensions-dev.typo3.org/
when: manual
only:
- develop
......@@ -6,27 +6,27 @@ require_once '/composer/vendor/deployer/deployer/recipe/common.php';
require_once '/composer/vendor/deployer/recipes/rsync.php';
$sharedDirectories = [
'fileadmin',
'uploads',
'.well-known'
'html/fileadmin',
'html/uploads',
'html/.well-known'
];
set('shared_dirs', $sharedDirectories);
$sharedFiles = [
'.htaccess',
'typo3conf/LocalConfiguration.php',
'html/typo3conf/LocalConfiguration.php',
];
set('shared_files', $sharedFiles);
$writeableDirectories = [
'typo3temp',
'fileadmin',
'uploads'
'html/typo3temp',
'html/fileadmin',
'html/uploads'
];
set('writable_dirs', $writeableDirectories);
$exclude = [
'.gitignore',
'.htaccess',
'.git',
'Readme.rst',
'Readme.txt',
......@@ -48,7 +48,7 @@ set('rsync', [
'options' => ['delete'],
'timeout' => 300
]);
set('rsync_src', '/src/html/');
set('rsync_src', '/src/');
set('keep_releases', 10);
serverList('/src/.gitlab-ci/deployer/servers.yml');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment