Include recipe in deploy.php
file.
require 'recipe/akeneo7.php';
The recipe extends the symfony recipe of core deployer, so you have to include this recipe in deploy.php
too:
require 'recipe/symfony.php';
The recipe extends the yarn recipe of core deployer recipes, so you have to include this recipe in deploy.php
too:
require 'contrib/yarn.php';
Add the nodejs path of the deploy server:
set('deploy_nodejs_path', '/opt/plesk/node/18/bin/');
-
Add
--ignore-platform-reqs
to avoid missing libraries errors in build stage:set('build_composer_options_extra', '--ignore-platform-reqs');
-
For updating/replacing stage specific files see: stage_specific_files
-
For Gitlab-CI see: gitlab_ci