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
|
|
|
|
yarn --version
|
|
|
|
|
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-23 15:36:36 +02:00
|
|
|
echo "###########";
|