Parameterized sync/deploy-to-staging.sh

This parameterizes the deployment with variables.