Created
January 9, 2019 08:33
-
-
Save IamSwap/d2311612e02831983735c964d3a78daa to your computer and use it in GitHub Desktop.
Runcloud Laravel deployment script
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
git pull origin master | |
composer install --no-dev | |
php artisan migrate --force |
This one looks better: https://blog.runcloud.io/laravel-with-git-deployment-the-right-way/
git merge
composer dump-autoload -o
composer install
php artisan migrate --force
php artisan clear-compiled
php artisan view:clear
php artisan config:clear
php artisan optimize
composer dump-autoload -o
php artisan queue:restart
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The platform I am using to host Laravel doesn't require any such script for hosting. This makes me wonder why you would need a script to do it on Runcloud?