changed publish script to work without cloudfront
changed publish script to work without cloudfront

Signed-off-by: Graeme Davison <6fb82075fb0ad59005c9ef465a20a71e9744d1a2@pivotal.io>

cloudfoundry/cf-lite,cloudfoundry/cf-lite