mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-23 22:56:25 +00:00
Remove nvm and set correct permissions for .ssh
This commit is contained in:
parent
8a7e1c4f63
commit
44741ffe04
@ -1,11 +1,14 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
if [ -z "$APPVEYOR_PULL_REQUEST_NUMBER" ]; then
|
if [ -z "$APPVEYOR_PULL_REQUEST_NUMBER" ]; then
|
||||||
if [ "$APPVEYOR_REPO_BRANCH" = "master" ]; then
|
if [ "$APPVEYOR_REPO_BRANCH" = "master" ]; then
|
||||||
echo "Building docs..."
|
echo "Building docs..."
|
||||||
nvm alias default 14.3.0
|
|
||||||
|
|
||||||
echo "$GH_DEPLOY_TOKEN" | base64 -d > "$HOME/.ssh/id_rsa"
|
echo "$GH_DEPLOY_TOKEN" | base64 -d > "$HOME/.ssh/id_rsa"
|
||||||
|
chmod 700 ~/.ssh
|
||||||
|
chmod 600 ~/.ssh/id_rsa
|
||||||
|
|
||||||
cd ./SpotifyAPI.Docs
|
cd ./SpotifyAPI.Docs
|
||||||
yarn
|
yarn
|
||||||
|
Loading…
Reference in New Issue
Block a user