Remove nvm and set correct permissions for .ssh

This commit is contained in:
Jonas Dellinger 2020-06-04 18:30:07 +02:00
parent 8a7e1c4f63
commit 44741ffe04

View File

@ -1,11 +1,14 @@
#!/bin/bash
set -e
if [ -z "$APPVEYOR_PULL_REQUEST_NUMBER" ]; then
if [ "$APPVEYOR_REPO_BRANCH" = "master" ]; then
echo "Building docs..."
nvm alias default 14.3.0
echo "$GH_DEPLOY_TOKEN" | base64 -d > "$HOME/.ssh/id_rsa"
chmod 700 ~/.ssh
chmod 600 ~/.ssh/id_rsa
cd ./SpotifyAPI.Docs
yarn