Deployer Versionv7.5.8 Target OSUbuntu 24.04 Which PHP version are you using?PHP 8.4 Content of deploy.php or deploy.yamlSteps to reproduceHi there, I don't know if that is expected behavior. But if I wanna use In task with echo It's fixable by closing |
Answered by
antonmedv
Jan 16, 2025
Replies: 2 comments 2 replies
|
I did not get it. |
1 reply
|
Ok, not I get the problem. If you use currentHost(), it will return Lines 40 to 43 in f0320fa And getTag is depended on if you use it with --ansi. What you really what to use is run('{{bin/supervisorctl}} restart {{hostname}}:'); |
1 reply
Answer selected by
antonmedv
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ok, not I get the problem. If you use currentHost(), it will return
Hostclass object. And Host object has this:deployer/src/Host/Host.php
Lines 40 to 43 in f0320fa
And getTag is depended on if you use it with --ansi.
What you really what to use is
hostnameinstead of the tag: