From 7395817b4114c8bae5feede68c6a51bcd99cb82b Mon Sep 17 00:00:00 2001 From: Tsukasa Kanzaki Date: Mon, 15 Apr 2019 16:39:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=E8=BD=AF=E9=93=BE?= =?UTF-8?q?=E9=A1=BA=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Envoy.blade.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Envoy.blade.php b/Envoy.blade.php index 27255e8..37f3363 100644 --- a/Envoy.blade.php +++ b/Envoy.blade.php @@ -40,6 +40,9 @@ [ -d {{ $storage_dir }} ] || mkdir {{ $storage_dir }} && chown www:www {{ $storage_dir }} ln -nfs {{ $storage_dir }} {{ $new_release_dir }}/storage + echo 'Linking current release' + ln -nfs {{ $new_release_dir }} {{ $app_dir }}/current + echo 'Linking .env file' if [ ! -f {{ $app_dir }}/.env ]; then cp {{ $new_release_dir }}/.env.example {{ $app_dir }}/.env @@ -49,9 +52,6 @@ ln -nfs {{ $app_dir }}/.env {{ $new_release_dir }}/.env cd {{ $app_dir }}/current && php artisan migrate fi - - echo 'Linking current release' - ln -nfs {{ $new_release_dir }} {{ $app_dir }}/current @endtask @task('change_owner')