![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/ |
#!/bin/bash SCRIPTPATH="$( cd "$(dirname "$0")" pwd -P )" git pull composer install php $SCRIPTPATH/bin/magento cache:flush rm -rf $SCRIPTPATH/var/cache/ rm -rf $SCRIPTPATH/var/page_cache/ rm -rf $SCRIPTPATH/generated/code/ rm -rf $SCRIPTPATH/var/view_preprocessed/ rm -rf $SCRIPTPATH/var/di/ php $SCRIPTPATH/bin/magento setup:upgrade php $SCRIPTPATH/bin/magento setup:di:compile cd $SCRIPTPATH/vendor/snowdog/frontools/ && gulp styles php $SCRIPTPATH/bin/magento cache:flush