Skip to content

Commit 0fe6b44

Browse files
committed
Added docs build script
1 parent 89102cc commit 0fe6b44

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

‎SpotifyAPI.Docs/docs.sh‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
if [ -z "$APPVEYOR_PULL_REQUEST_NUMBER" ]; then
2+
if [ "$APPVEYOR_REPO_BRANCH" = "master" ]; then
3+
echo "Building docs..."
4+
nvm alias default 14.3.0
5+
6+
echo "$GH_DEPLOY_TOKEN" | base64 -d > "$HOME/.ssh/id_rsa"
7+
8+
cd ./SpotifyAPI.Docs
9+
yarn
10+
USE_SSH=true GIT_USER=JohnnyCrazy yarn deploy
11+
fi
12+
fi

0 commit comments

Comments
 (0)