Skip to content

Instantly share code, notes, and snippets.

View elliotboney's full-sized avatar
😁
vibin

Elliot Boney elliotboney

😁
vibin
View GitHub Profile
@elliotboney
elliotboney / deploy.sh
Created September 29, 2021 02:22 — forked from BenSampo/deploy.sh
Laravel deploy script
# Change to the project directory
cd $FORGE_SITE_PATH
# 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 $FORGE_SITE_BRANCH