fix secure deployment for pull requests
Merge pull request #71 from gdfm/fixsecureenv

fix secure deployment for pull requests