From bb5ca7de449d30990ccd367ac3984ced139d5a0d Mon Sep 17 00:00:00 2001 From: Tykayn Date: Fri, 12 Feb 2021 14:39:45 +0100 Subject: [PATCH] update script for submodule frontend --- update.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/update.sh b/update.sh index 68aa814..5389fbf 100755 --- a/update.sh +++ b/update.sh @@ -2,13 +2,13 @@ echo "######################" echo " time to update the framadate setup" echo "######################" -git reset --hard +# git reset --hard git pull origin master composer install php bin/console doctrine:schema:update --force echo "######################" -echo " update the funky frontend " +echo " update the funky frontend submodule " echo "######################" git submodule update echo "######################" @@ -19,11 +19,12 @@ yarn echo "######################" echo " building the frontend " echo "######################" -yarn build +yarn run build:prod:demobliss + echo "######################" echo " copying built files in the public folder of the symfony project " echo "######################" -cp -r dist/* public/ +cp -r dist/* ../public/ echo "######################" echo " done " echo "######################"