caisse-bliss/update.sh

18 lines
470 B
Bash
Executable File

#/bin/bash
echo "###############################";
echo "start update of symfony project";
echo "###############################";
git pull origin master --strategy-option theirs
composer --version
composer self-update
composer update
yarn --version
yarn run encore production
php bin/console doctrine:schema:update --dump-sql
php bin/console doctrine:schema:update --force
php bin/console cache:clear -eprod
echo "###########";
echo "update done";
echo "###########";