I'm using this recipe to deploy Magento 2 with Deployer.org.
It's not getting my changes.
For example the writable_dirs are set this wait:
set('writable_dirs', [
'var',
'pub/static',
'pub/media',
'generated'
]);
All those folder are being created with no content, no images.
Also, I tried to add a new task to restart PHP-FPM after deployment:
task('reload:php-fpm', function () {
run('sudo /usr/sbin/service php7-fpm reload');
});
after('deploy', 'reload:php-fpm');
Even defining the most simple custom task:
task('test', function () {
writeln('Hello world');
});
Nothing happening. Deployer is not taking any custom changes.
Why?