Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
services
T
t3o sites
typo3.org
typo3.org
Commits
d2ea107d
Commit
d2ea107d
authored
Jul 16, 2017
by
Thomas Löffler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds opcode cache clearing on deploying
parent
b2cb3830
Pipeline
#1684
passed with stages
in 3 minutes and 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
.gitlab-ci/deployer/deploy.php
.gitlab-ci/deployer/deploy.php
+3
-0
No files found.
.gitlab-ci/deployer/deploy.php
View file @
d2ea107d
...
...
@@ -4,6 +4,7 @@ namespace Deployer;
require_once
'/composer/vendor/deployer/deployer/recipe/common.php'
;
require_once
'/composer/vendor/deployer/recipes/rsync.php'
;
require_once
'/composer/vendor/deployer/recipes/cachetool.php'
;
$sharedDirectories
=
[
'html/fileadmin'
,
...
...
@@ -50,6 +51,7 @@ set('rsync', [
]);
set
(
'rsync_src'
,
'/src/'
);
set
(
'keep_releases'
,
10
);
set
(
'cachetool'
,
'/run/php7-fpm-tthreeorgstage.sock'
);
serverList
(
'/src/.gitlab-ci/deployer/servers.yml'
);
task
(
'typo3'
,
function
()
{
...
...
@@ -69,6 +71,7 @@ task('deploy', [
'deploy:shared'
,
'deploy:writable'
,
'deploy:symlink'
,
'cachetool:clear:opcache'
,
'cleanup'
,
'typo3'
]);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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