Running alternative commands in the GIT deployment
What im missing on the GIT deployment is additional commands which are not bound to NPM. What i want for my application is to run the following commands:
php artisan migrate
gulp --production (which is aliased to "npm run prod")
Unfortunately PHP commands doesnt work on the Alternative Deployment Actions. it would be great if any command can be created.
For people that tried to run PHP 7 commands:
/opt/plesk/php/7.0/bin/php ~/tools/composer.phar install
doesnt work either
Thank you for your input!
Unfortunately, we have to close your request, because over the years it has not become quite popular for further implementation.
Alejandro Páez Espinosa commented
/opt/plesk/php/7.0/bin/php /usr/lib/plesk-9.0/composer.phar install
This works for me