Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

lyonio's avatar

Trying to deploy website with envoy.blade problem

My project is a git repository and I try to publish it with envoy.blade.php, but I get there only fatal: Not a git repository (or any of the parent directories): .git [✗] This task did not complete successfully on one of your server

What I do wrong here?

0 likes
6 replies
lyonio's avatar

I read this also before, but nothing was changed...

Git init etc is already done... do I need to setup something on the my server?

My envoy looks:

@servers(['web' => ['root@server_ip']])

@story('deploy')
    git
    composer
@endstory

@task('publish', ['on' => 'web'])
    git pull origin {{ $branch }}
    php artisan migrate
@endtask

@task('git')
    git pull [email protected]:user_name/my_repository.git
@endtask
lyonio's avatar

In cd I put path on the server, is it ok?

Do I have to set something on the server about git? I get again the message about git, but this is really git repo and I have .git folder...

Please or to participate in this conversation.