Added docs.cmd

This commit is contained in:
Jonas Dellinger 2016-08-20 13:20:52 +02:00
parent 6f126389c1
commit f5d45d0efa
2 changed files with 8 additions and 15 deletions

View File

@ -1,15 +0,0 @@
language: python
python:
- "3.4"
# command to install dependencies
install:
- "pip install mkdocs"
env:
global:
- secure: "TrPdzgDDelezvEch5VmGkn0gu7E/4imfdae85qr7pPvk4jwdYtBI918+fgMkT8oowEfrd14M39dttpVrp8Fjns+QsWoy742F/N8bc+HiEDzKNnc2KJgA5AF5KysdDeQthDEn8egeOlzLjMY7L/JPj67Ene8fik1IdkpFpMwNnf8="
# command to run tests
before_script: "mkdocs build --clean"
script:
- "chmod ugo+x ./push-ghpages.sh"
- "./push-ghpages.sh"
sudo: false

8
SpotifyAPI.Docs/docs.cmd Normal file
View File

@ -0,0 +1,8 @@
if "%APPVEYOR_PULL_REQUEST_NUMBER%" == "" (
echo Pushing docs...
pip install mkdocs
cd ./SpotifyAPI.Docs
mkdocs build
) else (
echo Skipping doc build
)