You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Command "deploy" is not defined. despite including custom recipe #3153
Just add a die('something'); to your deploy.php if this is called, then you know you are at 1. An then I would comment out each and every line until I find the scapegoat.
If I add die('something'); right after namespace Deployer; and run vendor/bin/deployer.phar deploy stage=production then my console outputs: "something".
I have to run vendor/bin/deployer.phar deploy stage=production as I have Deployer v6 installed globally which I cannot remove due to legacy projects requiring it.
Besides this, if I comment out every line and keep die('something'); then I get "something" in my terminal.
I beleive this is an error with Deployer as if I change my common recipe to the laravel recipe then it works, but my project isn't laravel, it's nuxt
any other ideas based on this? I'm running PHP 8.0
Activity
Schrank commentedon Jun 6, 2022
I see two options:
Just add a
die('something');to your deploy.php if this is called, then you know you are at 1. An then I would comment out each and every line until I find the scapegoat.Good luck!
sts-ryan-holton commentedon Jun 6, 2022
If I add
die('something');right afternamespace Deployer;and runvendor/bin/deployer.phar deploy stage=productionthen my console outputs: "something".I have to run
vendor/bin/deployer.phar deploy stage=productionas I have Deployer v6 installed globally which I cannot remove due to legacy projects requiring it.Besides this, if I comment out every line and keep
die('something');then I get "something" in my terminal.I beleive this is an error with Deployer as if I change my common recipe to the laravel recipe then it works, but my project isn't laravel, it's nuxt
any other ideas based on this? I'm running PHP 8.0
nstwfdev commentedon Jun 7, 2022
Do you set
deploytask?I don't see it in your deploy.php