MacOS X doesn't have '/bin/true'
This commit is contained in:
parent
a5c1324da9
commit
4575f93431
@ -89,7 +89,7 @@ gh_pages_push() {
|
|||||||
|
|
||||||
cd "${TRAVIS_BUILD_DIR}/doc/html";
|
cd "${TRAVIS_BUILD_DIR}/doc/html";
|
||||||
# setup credentials (hide in "set -x" mode)
|
# setup credentials (hide in "set -x" mode)
|
||||||
git config core.askpass /bin/true
|
git config core.askpass 'bash -c ":"'
|
||||||
( set +x ; git config credential.${GHPAGES_URL}.username "${GH_TOKEN}" )
|
( set +x ; git config credential.${GHPAGES_URL}.username "${GH_TOKEN}" )
|
||||||
# push to GitHub
|
# push to GitHub
|
||||||
git push origin gh-pages || \
|
git push origin gh-pages || \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user