Skip to content

Commit

Permalink
Fixing rollback artisan.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidrushton committed Jul 8, 2022
1 parent 1e49b39 commit 91dde18
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Envoy.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,17 +115,16 @@

@task('deployment_symlink')
ln -nfs {{ $release }} {{ $path }}/current
echo "Deployment symlinked to current"
echo "Deployment [{{ $release }}] symlinked to [{{ $path }}/current]"
@endtask

@task('deployment_reload')
{{ $php }} {{ $release }}/artisan storage:link
echo "Storage symbolic links created"
{{ $php }} {{ $path }}/current/artisan storage:link
@if ( $restartQueue === 'horizon' )
{{ $php }} {{ $release }}/artisan horizon:terminate --quiet
{{ $php }} {{ $path }}/current/artisan horizon:terminate --quiet
echo "Horizon supervisor restarted"
@elseif ( $restartQueue != false )
{{ $php }} {{ $release }}/artisan queue:restart --quiet
{{ $php }} {{ $path }}/current/artisan queue:restart --quiet
echo "Queue daemon restarted"
@endif
@if ( $php_fpm )
Expand Down

0 comments on commit 91dde18

Please sign in to comment.