now-slack-notify
v0.4.3
Published
Downloads
20
Maintainers
Keywords
Readme
vercel-slack-notify [options] <url, [commit-id]>
Options
-b, --bitbucket-url=BITBUCKET_URL Bitbucket api url (default `process.env.SLACK_BITBUCKET_URL`)
-w, --webhook-url=WEBHOOK_DEPLOYMENT_URL Slack webhook url (default `process.env.SLACK_DEPLOYMENT_WEBHOOK_URL`)
-r, --git-branch=GIT_BRANCH Git branch name (default `process.env.CIRCLE_BRANCH`)
-t, --zeit-token=ZEIT_TOKEN Zeit token (default `process.env.ZEIT_TOKEN`)
-e, --icon-emoji=ICON_EMOJI Slack icon (default `:rocket:`)
-u, --username=USERNAME Slack username (default `Vercel`)
-h, --help Show this message
Examples
- Use the thumbsup emoji
$ vercel-slack-notify -e ":thumbsup:" myproject.now.sh
- Make the message looks like it's from user `MyProject`
$ vercel-slack-notify -u MyProject myproject.now.sh