Skip to content

Commit 6c3adb6

Browse files
committed
don't hide output when checking for documentation repo
1 parent bda239c commit 6c3adb6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

book_source/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ git config --global user.email "[email protected]"
3838
git config --global user.name "TRAVIS-DOC-BUILD"
3939

4040
# Don't deploy if documentation git repo does not exist
41-
if ! ( git ls-remote -h [email protected]:${USER}/pecan-documentation >/dev/null 2>&1); then
41+
if ! ( git ls-remote -h [email protected]:${USER}/pecan-documentation); then
4242
echo "Can't find a repository at https://github.com/${USER}/pecan-documentation"
4343
echo "Will not render Book."
4444
exit 0

documentation/tutorials/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if [ ! -d book_hosted ]; then
1515
USER=${TRAVIS_REPO_SLUG%/*}
1616

1717
# Don't deploy if documentation git repo does not exist
18-
if ! ( git ls-remote -h [email protected]:${USER}/pecan-documentation >/dev/null 2>&1); then
18+
if ! ( git ls-remote -h [email protected]:${USER}/pecan-documentation); then
1919
echo "Can't find a repository at https://github.com/${USER}/pecan-documentation"
2020
echo "Will not render tutorials."
2121
exit 0

0 commit comments

Comments
 (0)