-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tokens for deployer and committer users #123
Comments
👍 Makes sense, I am away until next week so don't have a chance to do it but I will look early next week |
If a deployment is triggered via a webhook it is possible for the What would you expect to happen in that case, blank values? The webhook can specify a name, so I guess |
Hmm, that's a good point. Well I suppose either it should fall back to blank values, or we could instead replace with a token that represents a "deploy source" (or something worded better) - and then either that is "webhook" or the username? |
Fixed in e8c7a6a |
Another couple of tokens that might be useful for commands would be the current deployer and committer. Not wanting to make too many tokens and make it messy, but perhaps {{ deployer_email }} {{ deployer_name }} {{ committer_email }} and {{ committer_name }}.
Example use case: we're using Rollbar, and we can notify Rollbar of a deploy being made by posting a webhook, and you can optionally provide the user who made the deploy.
The text was updated successfully, but these errors were encountered: