Fixed script.
This commit is contained in:
parent
062820300a
commit
ec4623a80f
|
@ -1,15 +1,16 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
set -x
|
||||
set +x
|
||||
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."
|
||||
elif test "$TRAVIS_BRANCH" != "v2.6-racket-mini-source"; then
|
||||
echo "Not on v2.6-racket-mini-source branch (TRAVIS_BRANCH = $TRAVIS_BRANCH), will not deploy gh-pages."
|
||||
elif test -z "${encrypted_1b66487e02e5_key:-}" -o -z "${encrypted_1b66487e02e5_iv:-}"; then
|
||||
elif test -z "${encrypted_675a73236f08_key:-}" -o -z "${encrypted_675a73236f08_iv:-}"; then
|
||||
echo "Travis CI secure environment variables are unavailable, will not deploy gh-pages."
|
||||
else
|
||||
set -x
|
||||
echo "Automatic push to gh-pages"
|
||||
|
||||
# Git configuration:
|
||||
|
|
Loading…
Reference in New Issue
Block a user