Change deploy script to also pull in code changes

This commit is contained in:
Jonny Barnes 2017-06-23 10:04:19 +01:00
parent 8736789d87
commit bfd74ad78d
2 changed files with 22 additions and 16 deletions

View file

@ -3,6 +3,9 @@
echo "Putting the Laravel app in maintenance mode"
php artisan down
echo "Pulling the latest changes"
git pull
echo "Updating composer and dependencies"
sudo composer self-update
composer install