Skip to content

Instantly share code, notes, and snippets.

View orumad's full-sized avatar

Daniel Muñoz orumad

View GitHub Profile
@orumad
orumad / laravel-forge-deploy.sh
Created April 25, 2017 15:52 — forked from rap2hpoutre/laravel-forge-deploy.sh
Laravel Forge deploy script without downtime
# stop script on error signal
set -e
# remove old deployment folders
if [ -d "/home/forge/deploy" ]; then
rm -R /home/forge/deploy
fi
if [ -d "/home/forge/backup" ]; then
rm -R /home/forge/backup
fi