Fixed auto-deploy script

This commit is contained in:
Georges Dupéron 2017-03-20 18:16:59 +01:00
parent 655648db7f
commit f0b14cecf3

View File

@ -1,7 +1,7 @@
#!/bin/sh
set -e
set -x
if test "$(git config remote.origin.url)" != "https://github.com/jsmaniac/scribble-mathjax.git"
if test "$(git config remote.origin.url)" != "https://github.com/jsmaniac/scribble-mathjax.git"; then
echo "Not on official repo, will not deploy gh-pages."
elif test "$TRAVIS_PULL_REQUEST" != "false"; then
echo "This is a Pull Request, will not deploy gh-pages."