Skip to content

Instantly share code, notes, and snippets.

@evgenyneu
Created December 29, 2016 08:01
Show Gist options
  • Save evgenyneu/b15b5ab77d77d64a9869214cc4b86953 to your computer and use it in GitHub Desktop.
Save evgenyneu/b15b5ab77d77d64a9869214cc4b86953 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