Add --no-dev option to composer #3075
Unanswered
hashimaziz1
asked this question in
Help needed
Replies: 1 comment
-
The default is added "--no-dev". so you can change composer option by setting composer_options as below
ref: https://github.com/deployphp/deployer/blob/master/recipe/deploy/vendors.php#L6 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to solve a server permissions issue between Deployer and Clockwork, and the easiest solution to it seems to be to install Clockwork as a dev dependency and then run
composer --no-dev
on the production server. However, I can't work out how to do this in YAML syntax.Here's my current and otherwise functional
deploy.yaml
:Beta Was this translation helpful? Give feedback.
All reactions