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?
Composer is installed on the server and called via /usr/local/bin/composer
My .cpanel.yml is as follows:
Code:
---
deployment:
tasks:
- export DEPLOYPATH=[path]
- /usr/local/bin/composer install
- /bin/cp -r web/* $DEPLOYPATH