update script for submodule frontend

This commit is contained in:
Tykayn 2021-02-12 14:39:45 +01:00 committed by tykayn
parent 4b4d48b55c
commit bb5ca7de44
1 changed files with 5 additions and 4 deletions

View File

@ -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 "######################"