From a8cdadc0ec4e4ec37ef753e08dd3b7a9159c0835 Mon Sep 17 00:00:00 2001 From: Christopher Felegy Date: Thu, 24 Oct 2019 16:59:21 -0400 Subject: [PATCH] meta: copy only _site to docs-static --- azure/docs.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"