commit 7e0a9e441e22ad6c6ed86b2274756136ba23f562
parent f0b14cecf392dea86b366176be5b70944e41af1d
Author: Georges Dupéron <georges.duperon@gmail.com>
Date: Mon, 20 Mar 2017 18:58:07 +0100
Fixed issues with deploy script
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/travis-auto-deploy.sh b/travis-auto-deploy.sh
@@ -6,7 +6,7 @@ if test "$(git config remote.origin.url)" != "https://github.com/jsmaniac/scribb
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 master branch, will not deploy gh-pages."
+ 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
echo "Travis CI secure environment variables are unavailable, will not deploy gh-pages."
else
@@ -17,11 +17,13 @@ else
git config --global user.email "(git log --format="%aE" HEAD -1)"
# SSH configuration
+ set +x
if openssl aes-256-cbc -K $encrypted_675a73236f08_key -iv $encrypted_675a73236f08_iv -in travis-deploy-key-id_rsa.enc -out travis-deploy-key-id_rsa -d >/dev/null 2>&1; then
echo "Dectypred key successfully."
else
echo "Error while decrypting key."
fi
+ set -x
chmod 600 travis-deploy-key-id_rsa
eval `ssh-agent -s`
ssh-add travis-deploy-key-id_rsa