Skip to content

Instantly share code, notes, and snippets.

@thomasgroch
Created September 27, 2017 14:02
Show Gist options
  • Save thomasgroch/d28cd5264ec4cf1b5565d1e017102d5e to your computer and use it in GitHub Desktop.
Save thomasgroch/d28cd5264ec4cf1b5565d1e017102d5e to your computer and use it in GitHub Desktop.
cd /home/forge/example.org
git pull origin master
composer install --no-interaction --prefer-dist --optimize-autoloader
echo "" | sudo -S service php7.1-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