Hey all. I recently set up Laravel Envoyer and it looks like it will save me quite a bit of time once I have it all set up correctly for our application.
Key phrase there is the "once I have it all set up correctly" part lol.
I just did the first production deployment last night and everything seemed fine... until people started logging in this morning. There were a couple minor issues I was able to fix, but the big one was when people tried doing stuff in the app that is handled by the API over AJAX, I quickly figured out that the oauth-private/public keys don't get copied over from release to release.
To mitigate this I made a quick and dirty deployment hook that copies the keys over from my backup directory to {{release}}/storage and that works, but seems.... wrong. would a better deployment hook be:
cd {{release}}
php artisan passport:keys
I ended up having to roll back to my backup because pusher also stopped working for whatever reason (env file maybe?) but it was getting to the point where too many people were logging on for their work day, so I just cut my losses and will investigate further in staging.
Gotta love when your work day starts like this, lol.