Skip to content

Instantly share code, notes, and snippets.

View ashupp's full-sized avatar

Alexander Hupp ashupp

View GitHub Profile
@ashupp
ashupp / after_activate_new_release.sh
Created January 26, 2021 12:19 — forked from sebastiaanluca/after_activate_new_release.sh
Example of how to gracefully deploy a new release when using Envoyer. Optionally, you could just stop/resume only the Horizon daemons, but since we only have one Supervisor daemon, this works fine.
# After *Activate New Release*
cd {{ release }}
php artisan cache:clear
php artisan view:clear
php artisan purifier:clear
php artisan config:cache
php artisan route:cache