Deploying same branch to different apps??

Helloooo!!

So far loving fly, just would like to know this stumbling question:

I’ve got a client A who is hosting with us currently, and client B would like the exact same site (small tweaks made database level)

How would we go about deploying the same app/git branch to different servers ideally in one command? Would we need something like travis involved?

you can absolutely do this with just flyctl. Fly deploy allows you to specify the target app with -a, and a config file with -c. So you could use this to deploy to two different apps from the same branch:

That’s the simplest way to do it, but there’s lots of great community work for more elaborate setups. If you’re interested in setting up a deployment pipeline, you might find the following useful :

2 Likes