Travis - fix base64 decoding for mac osx

This commit is contained in:
Andrea Cavalli 2020-08-23 21:23:06 +02:00
parent d292b5ab08
commit fea8c211fa
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ fi
# Setup ssh
echo "Setup ssh."
[ -d ~/.ssh ] || mkdir -p ~/.ssh
echo "$GIT_IGN_TRAVIS_DEPLOY_PRIVATE_KEY" | base64 -d > ~/.ssh/id_rsa || true
echo "$GIT_IGN_TRAVIS_DEPLOY_PRIVATE_KEY" | base64 --decode > ~/.ssh/id_rsa || true
chmod 600 ~/.ssh/id_rsa || true
ssh-keyscan ssh.git.ignuranza.net >> $HOME/.ssh/known_hosts || true
ssh-keyscan git.ignuranza.net >> $HOME/.ssh/known_hosts || true