-
Deployer Versionv7.5.x Target OSDebian 12 Bookworm, but doesn't matter Which PHP version are you using?PHP 8.3 Content of deploy.php or deploy.yaml<?php declare(strict_types=1);
namespace Deployer;
require 'recipe/symfony.php';
set('application', 'lorem-ipsum);
set('allow_anonymous_stats', false);
set('release_name', function () {
return date('YmdHis');
});
set('keep_releases', 5);
set('shared_dirs', [
'var/log',
'var/media',
]);
set('shared_files', [
'.env.local',
'.env.test.local'
]);
// Hosts
host('dev')
->setHostname('deploy-host.dev')
->setRemoteUser('remote-user')
->set('stage', 'develop')
->setDeployPath('/var/www')
->set('branch', 'develop')
; Steps to reproduceUpgrading from 7.4 to 7.5, our deployment pipeline fails during Because the I guess the task should be moved further back in the pipeline or the Symfony recipe needs to insert For the time being we are overriding |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Yes, this was unfarcical override by deploy:env. |
Beta Was this translation helpful? Give feedback.
Fixed.