I have this idea which I'm not really sure how to implement.
The idea would be that we have a given product implemented in various sites, and the product itself would have a page with a button (let's say it's www.site.com/update) and once you click the button the site goes offline and retrieves the latest version of itself from an online repository (or something similar), is this doable?
are there any corner-cases I should be aware of when developing this feature?
Edit: maybe a more rational solution would be to build / use an app that updates multiple sites at once, instead of letting sites update themselves?