|
@@ -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" |
|
|