Skip to content

Instantly share code, notes, and snippets.

Avatar

vahid alvandi vahidalvandi

View GitHub Profile
@vahidalvandi
vahidalvandi / deploy.sh
Created Jun 22, 2019 — forked from BenSampo/deploy.sh
Laravel deploy script
View deploy.sh
# Change to the project directory
cd /home/forge/domain.com
# Turn on maintenance mode
php artisan down
# Pull the latest changes from the git repository
# git reset --hard
# git clean -df
git pull origin master
You can’t perform that action at this time.