deployment script for web applications with yaml configuration and multiple environments