'Download and extract zip file to update express and react files

we're developing a MERN Stack application for multiple customers. In feature we may want to update stack but it's difficult to update every sites. Now it's my question begins. How we can update all sites with single zip file that we upload on our main server and every servers download it, extract it and replace files in their severs. Similar thing happens in prestashop. Is there a way that we can achive this? Our react app serves in root and our express app serves in subdomain. For example: www.example.com is our react app and www.api.example.com is our backend directory. Thanks



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source