One month ago everything is working well, until I went deploy a project and ...
When you run the command envoy run deploy
, using the settings below ...
@servers([
'mt' => '[email protected]'
])
@task('deploy', ['on' => 'mt'])
cd /var/www/html/xxx.xxxxxx.xxxx
git pull origin dev
composer dump-autoload -o
php artisan cache:clear
@endtask
I got the following error:
git:(dev) ✗ envoy run deploy
[]: Pseudo-terminal will not be allocated because stdin is not a terminal.
[]: ssh: Could not resolve hostname bash -s: nodename nor servname provided, or not known
I put the contents of the id_rsa.pub
file on my server, inside the file authorized_keys
, and I can log in normally in the traditional way: ssh [email protected]
- (without the password).
So ... what am I doing wrong? What has changed in Envoy?
If you need more information, let me know before you deny it.
Thank you in advance.