Fixed auto-deploy script
This commit is contained in:
parent
655648db7f
commit
f0b14cecf3
|
@ -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."
|
||||
|
|
Loading…
Reference in New Issue
Block a user