0

我正在尝试使用 Envoy 部署 Laravel 应用程序,但出现错误:

[deployer@xxxx]: Cloning into '/var/www/xxxx/releases/20171214110823'...
[deployer@xxxx]: bash: line 5: EOF-LARAVEL-ENVOY: command not found
[✗] This task did not complete successfully on one of your servers.

我的任务如下:

@story('deploy')
clone_repository
run_composer
update_symlinks
@endstory

@task('clone_repository')
echo 'Cloning repository'
[ -d {{ $releases_dir }} ] || mkdir {{ $releases_dir }}
git clone --depth 1 {{ $repository }} {{ $new_release_dir }}
@endtask

@task('run_composer')
echo "Starting deployment ({{ $release }})"
cd {{ $new_release_dir }}
composer install --prefer-dist --no-scripts -q -o
@endtask

任何人都可以帮助我吗?

4

0 回答 0