diff --git a/.circleci/comment-artifacts.sh b/.circleci/comment-artifacts.sh index 2c54c9fc5b..555d7ac3a9 100644 --- a/.circleci/comment-artifacts.sh +++ b/.circleci/comment-artifacts.sh @@ -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 }