Bramus!
New Pleskian
Hi,
We have set up automatic deployment of a Git repo onto our server.
As it's a PHP project, I need to run `composer install` after deployment, to make sure all dependencies are installed. Doing so manually over SSH works fine, yet I want to do it automatically. In the docs I see that it's possible to run some “Additional Deployment Actions” after deployment was done.
However, I've not been able to get that to work. I've tried this set of commands:
cd /var/www/vhosts/example.com/httpdocs
composer install
(do note that executing these commands over SSH yields the expected result)
As it's not working I have two questions:
1) Is there any way to see the output of the “Additional Deployment Actions” so I can investigate this further?
2) Can anyone specify which commands will do the trick?
Kinds regards,
Bramus.
We have set up automatic deployment of a Git repo onto our server.
As it's a PHP project, I need to run `composer install` after deployment, to make sure all dependencies are installed. Doing so manually over SSH works fine, yet I want to do it automatically. In the docs I see that it's possible to run some “Additional Deployment Actions” after deployment was done.
However, I've not been able to get that to work. I've tried this set of commands:
cd /var/www/vhosts/example.com/httpdocs
composer install
(do note that executing these commands over SSH yields the expected result)
As it's not working I have two questions:
1) Is there any way to see the output of the “Additional Deployment Actions” so I can investigate this further?
2) Can anyone specify which commands will do the trick?
Kinds regards,
Bramus.