Browse Source

meta: copy only _site to docs-static

tags/2.2.0
Christopher Felegy 5 years ago
parent
commit
a8cdadc0ec
No known key found for this signature in database GPG Key ID: 3AB2CA980DDC61A9
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      azure/docs.bat

+ 2
- 1
azure/docs.bat View File

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


Loading…
Cancel
Save