caisse-bliss/update.sh

20 lines
496 B
Bash
Raw Normal View History

2018-05-09 09:44:19 +02:00
#/bin/bash
2018-08-23 15:36:36 +02:00
echo "###############################";
2018-05-09 09:44:19 +02:00
echo "start update of symfony project";
2018-08-23 15:36:36 +02:00
echo "###############################";
2018-05-09 09:44:19 +02:00
git pull origin master --strategy-option theirs
2018-08-23 15:36:36 +02:00
composer --version
2018-08-29 11:08:05 +02:00
composer self-update
composer update
2018-08-23 15:36:36 +02:00
yarn --version
2018-10-09 16:13:28 +02:00
bash compile-frontend.sh
2018-05-09 09:44:19 +02:00
yarn run encore production
2018-08-23 15:36:36 +02:00
php bin/console doctrine:schema:update --dump-sql
php bin/console doctrine:schema:update --force
2018-05-09 09:44:19 +02:00
php bin/console cache:clear -eprod
2018-08-23 15:36:36 +02:00
echo "###########";
2018-05-09 09:44:19 +02:00
echo "update done";
2018-08-29 11:08:05 +02:00
echo "###########";