diff --git a/azure/docs.bat b/azure/docs.bat index 572534cee..cdda87919 100644 --- a/azure/docs.bat +++ b/azure/docs.bat @@ -5,7 +5,8 @@ ECHO remove old 'latest' ECHO Y | RMDIR /S docs-static\latest || EXIT /B 1 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 git config --global user.name "Discord.Net CI Robot" && git config --global user.email "robot@foxbot.me"