-
-
Save donnykurnia/14490b3f478cc539705d88d3c9ff5ee5 to your computer and use it in GitHub Desktop.
Calling rollbar deployment webhook
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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