Smart live server updates through links
Use /var/www-production & /var/www-prerelease
Link /var/www.repo1 to /var/www-production and /var/www.repo2 to /var/www-prerelease.
Update /var/www-prerelease, test, do customizations.
When ready simply swap the links, move prerelease production and production to prerelease