I want to deploy a PHP project with Deployer.
I have this code:
task('deploy', [
'deploy:prepare',
'deploy:lock',
'deploy:release',
'deploy:update_code',
'deploy:shared',
'deploy:writable',
'deploy:vendors',
'deploy:clear_paths',
'deploy:symlink',
'deploy:unlock',
'cleanup',
'success'
]);
I want to deploy on a preview.domain.com and run acceptance tests.
After that I want to read the report.xml.
When everything is clear I want to link to the current folder.
How can I do that?
To do the deploy you have to configurate your host in the deploy.php file (in the root of your project), like:
you can create task that you can hook after some other task, like:
with this tools you can do everything
To execute the deploy use the comand: