[cogenda-web] - Refactor auto deploy script.