25
loading...
This website collects cookies to deliver better user experience
composer require laravel/envoy --dev
@servers(['localhost' => '127.0.0.1'])
@servers(['Raspada-web-1' => '192.168.1.68', 'Raspada-web-2' => '192.168.1.69'])
@story('code_update')
// story chapters here
@endstory
@servers(['localhost' => '127.0.0.1'])
@story('code_update')
gitpull
migrate
composerinstall
dumpautoload
savenewconfig
@endstory
@servers(['localhost' => '127.0.0.1'])
@story('code_update')
gitpull
migrate
composerinstall
dumpautoload
savenewconfig
@endstory
@task('gitpull')
@endtask
@task('migrate')
@endtask
@task('composerinstall')
@endtask
@task('dumpautoload')
@endtask
@task('savenewconfig')
@endtask
@task('gitpull')
git pull
@endtask
@task('migrate')
php artisan migrate --force
@endtask
@task('composerinstall')
composer install --no-dev
@endtask
@task('dumpautoload')
composer dump-autoload
@endtask
@task('savenewconfig')
php artisan config:cache
@endtask
@finished
if ($exitCode > 0) {
<span class="hljs-regexp">// There were errors in one of the tasks...
}
@endfinished
</span>
php vendor/bin/envoy run code_update