Skip to content

Instantly share code, notes, and snippets.

@donnykurnia
Forked from evgenyneu/Shell
Created January 10, 2020 14:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save donnykurnia/14490b3f478cc539705d88d3c9ff5ee5 to your computer and use it in GitHub Desktop.
Save donnykurnia/14490b3f478cc539705d88d3c9ff5ee5 to your computer and use it in GitHub Desktop.
Calling rollbar deployment webhook
ACCESS_TOKEN=secret
ENVIRONMENT=production
LOCAL_USERNAME=`whoami`
REVISION=`git log -n 1 --pretty=format:"%H"`
curl https://api.rollbar.com/api/1/deploy/ \
-F access_token=$ACCESS_TOKEN \
-F environment=$ENVIRONMENT \
-F revision=$REVISION \
-F local_username=$LOCAL_USERNAME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment