Skip to main content

env_token

Function env_token 

Source
pub fn env_token(host: &str) -> Option<String>
Expand description

Signature checks with this machine’s allowed_signers. The deployment’s token for host: GH_TOKEN/GITHUB_TOKEN for github.com, GITLAB_TOKEN for gitlab.com and the hosts in COMINDLY_GITLAB_HOSTS (or their _FILE).