From 27093a6a686263af207014c44fbd9e5633b8d305 Mon Sep 17 00:00:00 2001 From: Isaac Ubani <32121772+ubaniIsaac@users.noreply.github.com> Date: Fri, 9 Jun 2023 23:06:06 +0100 Subject: [PATCH] fix: run passport:install in start for oauth key --- scripts/00-laravel-deploy.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/00-laravel-deploy.sh b/scripts/00-laravel-deploy.sh index 75343a39a..1e3e4459d 100755 --- a/scripts/00-laravel-deploy.sh +++ b/scripts/00-laravel-deploy.sh @@ -1,13 +1,18 @@ #!/usr/bin/env bash echo "Running composer" composer global require hirak/prestissimo -composer install --no-dev --working-dir=/var/www/html +composer update +composer install --no-dev echo "Caching config..." php artisan config:cache + echo "Caching routes..." php artisan route:cache echo "Running migrations..." php artisan migrate --force + +echo "Passport install..." +php artisan passport:install \ No newline at end of file