Running "composer install" from .cpanel.yml
I'm trying to run the "composer install" command from .cpanel.yml but can't get it to work.
Composer is installed on the server and called via /usr/local/bin/composer
My .cpanel.yml is as follows:
What am I doing wrong?
---
deployment:
tasks:
- export DEPLOYPATH=[path]
- /usr/local/bin/composer install
- /bin/cp -r web/* $DEPLOYPATHWhat am I doing wrong?
-
There is nothing wrong with the code. Composer ran but with errors. Manually running composer and fixing the errors solved the problem. 0 -
Glad to see you were able to identify the cause of the issue and thank you for updating the thread. 0
Please sign in to leave a comment.
Comments
2 comments