circleci: Create .ssh folder

This commit is contained in:
Jonatan Nilsson 2018-07-16 23:00:09 +00:00
parent 5818e93289
commit e7f3958f89

View file

@ -42,6 +42,7 @@ jobs:
echo Not running on master. Exiting. echo Not running on master. Exiting.
exit 0 exit 0
fi fi
mkdir ~/.ssh/
echo "$MASTER_HOST" | base64 -d > ~/.ssh/master_host echo "$MASTER_HOST" | base64 -d > ~/.ssh/master_host
echo "$MASTER_KEY" | base64 -d > ~/.ssh/master_key echo "$MASTER_KEY" | base64 -d > ~/.ssh/master_key
chmod 600 ~/.ssh/master_key chmod 600 ~/.ssh/master_key