Skip to content

Instantly share code, notes, and snippets.

@budiantoip
budiantoip / deploy.sh
Created May 4, 2021 00:54 — forked from BenSampo/deploy.sh
Laravel deploy script
# Change to the project directory
cd /home/forge/domain.com
# Turn on maintenance mode
php artisan down || true
# Pull the latest changes from the git repository
# git reset --hard
# git clean -df
git pull origin master