laravel-aws-worker icon indicating copy to clipboard operation
laravel-aws-worker copied to clipboard

eb deploy

Open aromka opened this issue 7 years ago • 2 comments

Not a package issue, but just wondering how you do deployments, or if you have any tips for deployment?

Usually if you're using EB CLI, you have branch defaults in config, so doing eb deploy - deploys proper branch to a proper environment. Is there any way to group the environments (web + worker), so if you deploy to one - it would auto-deploy the same version to the other environment?

aromka avatar Mar 02 '17 05:03 aromka

I use Buddy for this kind of stuff, but you could use Laravel Envoy for a free way of doing it (but you'll have to write code :) ).

EdwinDayot avatar Mar 29 '17 09:03 EdwinDayot

@aromka I put it all in the CI build scripts - it will choose where to deploy depending on branch. For Laravel I had to make some extra conditions in the scripts, eg. specific apps should be deployed to two destinations after every build.

So basically just running 'eb deploy' twice, with two different destination environment names.

Couldn't find a better way with AWS...

dusterio avatar Mar 29 '17 09:03 dusterio