Only publish if secure variables are available.
Merge pull request #2 from cpacey/cpacey/OnlyPublishIfSecretAvailable

Only publish if secure variables are available.