Disable deployment with app setting SCM_DISABLE_DEPLOY_ON_PUSH

Fixes #1337
As we discussed, shouldn't need "APPSETTING_" here since the plain env variable should also exist.