X-Git-Url: https://jfr.im/git/irc/freenode/web-7.0.git/blobdiff_plain/0fbb96f6f653258882d5268fe91ba4ae4a9e0a0a..660a5a53914a48e83030160ab84e6250f7ad6d18:/deploy.sh diff --git a/deploy.sh b/deploy.sh index e73b0e431..77724e286 100755 --- a/deploy.sh +++ b/deploy.sh @@ -5,8 +5,8 @@ if [ ! "$TRAVIS_BRANCH" = master ]; then exit; fi export SSH_KEYFILE="$(readlink -f .deploy-key)" export GIT_SSH="$(readlink -f ssh.sh)" -git clone -b gh-pages git@github.com:freenode/web-7.0.git .deploy -cd .deploy +git clone -b gh-pages git@github.com:freenode/web-7.0.git .deploy || exit 1 +cd .deploy || exit 1 git config user.name travis git config user.email travis@nowhere rm -rf * @@ -14,4 +14,4 @@ cp -r ../out/* . cp -r ../static . git add -A git commit -m "travis: $TRAVIS_COMMIT" -git push +git push || exit 1