Update deploy_master.sh
This commit is contained in:
parent
bea1a4a46c
commit
c3df11b4a1
@ -20,9 +20,9 @@ echo "TRAVIS_CPU_ARCH_STANDARD: $TRAVIS_CPU_ARCH_STANDARD"
|
||||
# Setup ssh
|
||||
mkdir -p ~/.ssh
|
||||
if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
|
||||
echo "$GIT_IGN_TRAVIS_DEPLOY_PRIVATE_KEY" | base64 -d > ~/.ssh/id_rsa
|
||||
else
|
||||
echo "$GIT_IGN_TRAVIS_DEPLOY_PRIVATE_KEY" | base64.exe -d > ~/.ssh/id_rsa
|
||||
else
|
||||
echo "$GIT_IGN_TRAVIS_DEPLOY_PRIVATE_KEY" | base64 -d > ~/.ssh/id_rsa
|
||||
fi
|
||||
chmod 600 ~/.ssh/id_rsa || true
|
||||
ssh-keyscan ssh.git.ignuranza.net >> $HOME/.ssh/known_hosts
|
||||
|
Loading…
Reference in New Issue
Block a user