I'm trying to do deploy Laravel application with using Envoy, but I get error:
[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.
My tasks looks like:
@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
Anyone can help me?