Skip to content

Commit 53b84c1

Browse files
authored
Merge pull request #375 from sumocoders/jonasdekeukelaere-patch-5
Fix opcache in deploy
2 parents 5db28a8 + a71235b commit 53b84c1

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

deploy.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@
4242
/**
4343
* URL to download cachetool from if it is not available
4444
*
45-
* Fork is currently still on PHP 7.4, so version 7.0.0 of cachetool is required.
45+
* Fork is currently still on PHP 7.4, so version 7.1.0 of cachetool is required.
4646
* Deployer has already moved on to 8+, so we're locking our version of cachetool for now.
4747
*
4848
* TODO: either upgrade this URL to the next version or remove it in the future when a new version of Fork is released.
4949
*/
50-
set('cachetool_url', 'https://github.com/gordalina/cachetool/releases/download/7.0.0/cachetool.phar');
50+
set('cachetool_url', 'https://github.com/gordalina/cachetool/releases/download/7.1.0/cachetool.phar');
5151

5252
// Define staging
5353
host('dev03.sumocoders.eu')
@@ -70,7 +70,7 @@
7070
// ->set('deploy_path', '~/wwwroot')
7171
// ->set('branch', 'master')
7272
// ->set('bin/php', '$phpBinary')
73-
// ->set('bin/cachetool', '/data/vhosts/{{user}}/wwwroot/shared/cachetool-7.0.0.phar')
73+
// ->set('bin/cachetool', '/data/vhosts/{{user}}/wwwroot/shared/cachetool-7.1.0.phar')
7474
// ->set('cachetool', '/data/vhosts/{{user}}/.sock/$sockFile --tmp-dir=/data/vhosts/{{user}}/.temp')
7575
// ->set('document_root', '~/wwwroot/www')
7676
// ->set('keep_releases', 3);
@@ -79,9 +79,6 @@
7979
* No need to edit below *
8080
*************************/
8181

82-
// only run clearing the cache on staging, as production does not use PHP FPM.
83-
task('cachetool:clear:opcache')->select('staging');
84-
8582
set('use_relative_symlink', false);
8683

8784
// Shared files/dirs between deploys

0 commit comments

Comments
 (0)