-
Deployer Versionv7.5.8 Target OSUbuntu 24.04 Which PHP version are you using?PHP 8.4 Content of deploy.php or deploy.yaml
Steps 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
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I did not get it. |
Beta Was this translation helpful? Give feedback.
-
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}}:'); |
Beta Was this translation helpful? Give feedback.
Ok, not I get the problem. If you use currentHost(), it will return
Host
class 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
hostname
instead of the tag: