- ssh into server
git clone
the repo- Configure
{nginx,apache,etc}
to forward requests to the fastboot server - Configure
{nginx,apache,etc}
to fallback to static assets if fastboot is not available
- ssh into server
- Bring down fastboot server
git pull
git checkout <tagged-version>
- Bring up fastboot server
This should ensure zero-downtime. There will be a period in which your app being served is not fastboot but that should only be true during update. Otherwise the transition should feel seamless.
Do you have an example nginx config? Would be really helpful :-)