We do something similar. We have a PHP artisan upgrade command that does all of this, except composer installing, we do that separately
May 13, 2020
2
Level 41
Use Laravel Command as a Deploy Script
I want to create a deploy script for my applications but i was wondering if it's possible to use a Laravel Command as a deploy script.
So that i just can call php artisan deploy and that the script than runs the necessary steps (composer install, migrate, queue restart, etc).
Or is this not possible because the composer install can break the operation ?
Please or to participate in this conversation.