Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
extensions.typo3.org
extensions.typo3.org
Commits
4837c1dd
Unverified
Commit
4837c1dd
authored
Mar 04, 2017
by
Sascha Marcel Schmidt
Browse files
fixes paths in shared dirs
parent
01765b31
Pipeline
#68
passed with stages
in 1 minute and 4 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
4837c1dd
...
...
@@ -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
.gitlab-ci/deployer/deploy.php
View file @
4837c1dd
...
...
@@ -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'
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment