Skip to content

Commit 873f69e

Browse files
committed
ci: should post comment on react-general-components repo
1 parent f1b07f2 commit 873f69e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/documentation.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ if [ -z "$TRAVIS_TAG" ]; then
88
npm run doc:publish $TRAVIS_BRANCH
99
export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo $TRAVIS_PULL_REQUEST_BRANCH; fi)
1010
curl -X POST \
11-
https://api.github.com/repos/crazyfactory/shop-webapp-components/issues/$TRAVIS_PULL_REQUEST/comments \
11+
https://api.github.com/repos/crazyfactory/react-general-components/issues/$TRAVIS_PULL_REQUEST/comments \
1212
-H "authorization: token $GH_TOKEN" \
1313
-H 'content-type: application/json' \
1414
-d "{
15-
\"body\": \"Hi there, the generated documentation has been made available [gh-pages/$BRANCH](https://crazyfactory.github.io/shop-webapp-components/$BRANCH). Don't forget to delete from [gh-pages/](https://github.com/crazyfactory/shop-webapp-components/tree/gh-pages/) branch once this PR is merged!\"
15+
\"body\": \"Hi there, the generated documentation has been made available [gh-pages/$BRANCH](https://crazyfactory.github.io/react-general-components/$BRANCH). Don't forget to delete from [gh-pages/](https://github.com/crazyfactory/react-general-components/tree/gh-pages/) branch once this PR is merged!\"
1616
}"
1717
else
1818
echo "it's a tag, publishing main document"

0 commit comments

Comments
 (0)