added local docfx installation

This commit is contained in:
Ell 2023-02-09 22:32:05 +01:00
parent 3559527bda
commit b4c4217e45
2 changed files with 15 additions and 1 deletions

12
.config/dotnet-tools.json Normal file
View file

@ -0,0 +1,12 @@
{
"version": 1,
"isRoot": false,
"tools": {
"docfx": {
"version": "2.61.0",
"commands": [
"docfx"
]
}
}
}

4
Jenkinsfile vendored
View file

@ -18,7 +18,9 @@ pipeline {
branch 'main'
}
steps {
sh 'cd docs; docfx'
sh '''cd docs
dotnet tool restore
dotnet docfx'''
sh 'rm -rf /var/www/tinylifedocs/*'
sh 'cp -r docs/_site/. /var/www/tinylifedocs/'
}