|
42 | 42 | /**
|
43 | 43 | * URL to download cachetool from if it is not available
|
44 | 44 | *
|
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. |
46 | 46 | * Deployer has already moved on to 8+, so we're locking our version of cachetool for now.
|
47 | 47 | *
|
48 | 48 | * TODO: either upgrade this URL to the next version or remove it in the future when a new version of Fork is released.
|
49 | 49 | */
|
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'); |
51 | 51 |
|
52 | 52 | // Define staging
|
53 | 53 | host('dev03.sumocoders.eu')
|
|
70 | 70 | // ->set('deploy_path', '~/wwwroot')
|
71 | 71 | // ->set('branch', 'master')
|
72 | 72 | // ->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') |
74 | 74 | // ->set('cachetool', '/data/vhosts/{{user}}/.sock/$sockFile --tmp-dir=/data/vhosts/{{user}}/.temp')
|
75 | 75 | // ->set('document_root', '~/wwwroot/www')
|
76 | 76 | // ->set('keep_releases', 3);
|
|
79 | 79 | * No need to edit below *
|
80 | 80 | *************************/
|
81 | 81 |
|
82 |
| -// only run clearing the cache on staging, as production does not use PHP FPM. |
83 |
| -task('cachetool:clear:opcache')->select('staging'); |
84 |
| - |
85 | 82 | set('use_relative_symlink', false);
|
86 | 83 |
|
87 | 84 | // Shared files/dirs between deploys
|
|
0 commit comments