Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Commit

Permalink
Correct and update postpublish script
Browse files Browse the repository at this point in the history
  • Loading branch information
notnotdrew committed May 19, 2017
1 parent 16580ff commit 2d990ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"urlMain": "./lib/url-handler",
"description": "An integrated development environment for Learn.co",
"scripts": {
"prepublish": "scripts/airbrake_deploy"
"postpublish": "./scripts/airbrake_deploy"
},
"keywords": [],
"repository": "https://github.com/learn-co/learn-ide",
Expand Down
8 changes: 4 additions & 4 deletions scripts/airbrake_deploy
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ echo $PAYLOAD
echo $AIRBRAKE_PROJECT_ID
echo $AIRBRAKE_PROJECT_KEY

#curl -X POST \
# -H "Content-Type: application/json" \
# -d PAYLOAD \
# "https://airbrake.io/api/v4/projects/${AIRBRAKE_PROJECT_ID}/deploys?key=${AIRBRAKE_PROJECT_KEY}"
curl -X POST \
-H "Content-Type: application/json" \
-d PAYLOAD \
"https://airbrake.io/api/v4/projects/${AIRBRAKE_PROJECT_ID}/deploys?key=${AIRBRAKE_PROJECT_KEY}"

0 comments on commit 2d990ca

Please sign in to comment.