Created
September 12, 2018 06:26
-
-
Save gunharth/7ba879d65ec96f0895eefe8c834347f6 to your computer and use it in GitHub Desktop.
Collection of forge deployment scripts used for:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#jodel: | |
cd /home/forge/jodel.gunharth.io | |
git pull origin master | |
composer install --no-dev --optimize-autoloader | |
php artisan migrate | |
php artisan optimize | |
#php artisan route:clear | |
#php artisan route:cache | |
php artisan cache:clear | |
#ping | |
cd /home/forge/ping.gunharth.io | |
git pull origin production | |
git submodule update --init --remote | |
composer install --no-interaction --prefer-dist --optimize-autoloader | |
php artisan cache:clear | |
php artisan responsecache:flush | |
php artisan config:cache | |
php artisan route:cache | |
echo "" | sudo -S service php7.2-fpm reload | |
#gunichat | |
cd /home/forge/chat.gunharth.io | |
git pull origin master | |
composer install --no-interaction --prefer-dist --optimize-autoloader | |
php artisan cache:clear | |
php artisan config:cache | |
#php artisan route:cache | |
echo "" | sudo -S service php7.2-fpm reload | |
#if [ -f artisan ] | |
#then | |
# php artisan migrate --force | |
#fi | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment