meta: copy only _site to docs-static

This commit is contained in:
Christopher Felegy
2019-10-24 16:59:21 -04:00
parent 007b011f12
commit a8cdadc0ec

View File

@@ -5,7 +5,8 @@ ECHO remove old 'latest'
ECHO Y | RMDIR /S docs-static\latest || EXIT /B 1 ECHO Y | RMDIR /S docs-static\latest || EXIT /B 1
ECHO build docs ECHO build docs
docfx.console\tools\docfx.exe docs/docfx.json -o docs-static/latest/ || EXIT /B 1 docfx.console\tools\docfx.exe docs/docfx.json -o docs-staging || EXIT /B 1
ROBOCOPY docs-staging\_site docs-static\latest /MIR /TEE || EXIT /B 1
ECHO commit and deploy ECHO commit and deploy
git config --global user.name "Discord.Net CI Robot" && git config --global user.email "robot@foxbot.me" git config --global user.name "Discord.Net CI Robot" && git config --global user.email "robot@foxbot.me"