Last active
April 25, 2022 17:20
-
-
Save davidsneal/51565668a86387ef3f4256ea63aeb623 to your computer and use it in GitHub Desktop.
Bash script for updating a laravel project - Run using ./update.sh
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
{ | |
cd /project/root | |
git pull | |
composer install | |
php artisan migrate | |
gulp --production | |
chown www-data:www-data storage/ bootstrap/cache -R | |
php artisan queue:restart | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment