Gitlab CICD for laravel app not deploying

I am using Gitlab tutorial https://docs.gitlab.com/ee/ci/examples/laravel_with_gitlab_and_envoy/ for deploying Laravel application to my digital ocean server

But when it’s running task two I am getting following errors.

$ ~/.composer/vendor/bin/envoy run deploy --commit="$CI_COMMIT_SHA"
/bin/bash: line 103: /root/.composer/vendor/bin/envoy: No such file or directory
ERROR: Job failed: exit code 1

Please help me out to fix it?

1 Like

I also meet this problem. do you solution yet ?

1 Like

Sometimes it’s stored in another path. try this :

~/.config/composer/vendor/bin/envoy run deploy --commit="$CI_COMMIT_SHA"