Skip to content

Commit

Permalink
chore: update the comment script
Browse files Browse the repository at this point in the history
  • Loading branch information
satya164 authored Feb 2, 2018
1 parent 913d7c1 commit 1ddd529
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .circleci/comment-artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

URL="https://callstack-github-bot.herokuapp.com/comment"
LINK="https://$CIRCLE_BUILD_NUM-71323749-gh.circle-artifacts.com/$CIRCLE_NODE_INDEX/docs/index.html"
COMMENT="Hey, thank you for your pull request 🤗. The documentation from this branch can be viewed at $LINK"
TEMPLATE="Hey @{{user.login}}, thank you for your pull request 🤗. The documentation from this branch can be viewed [here]($LINK)."

read -r -d '' DATA << EOM
{
"pull_request": "$CIRCLE_PULL_REQUEST",
"body": "$COMMENT",
"template": "$TEMPLATE",
"test": {
"type": "string",
"data": "The documentation from this branch can be viewed at"
"data": "The documentation from this branch can be viewed"
},
"update": true
}
Expand Down

0 comments on commit 1ddd529

Please sign in to comment.