mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 23:16:28 +00:00
Added docs build script
This commit is contained in:
parent
89102cceb7
commit
0fe6b44795
12
SpotifyAPI.Docs/docs.sh
Normal file
12
SpotifyAPI.Docs/docs.sh
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
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"
|
||||||
|
|
||||||
|
cd ./SpotifyAPI.Docs
|
||||||
|
yarn
|
||||||
|
USE_SSH=true GIT_USER=JohnnyCrazy yarn deploy
|
||||||
|
fi
|
||||||
|
fi
|
Loading…
Reference in New Issue
Block a user