just run the global docfx installation

This commit is contained in:
Ell 2021-11-09 01:26:22 +01:00
parent 4af8ef78a4
commit ce4f5ed317
3 changed files with 1 additions and 22 deletions

View file

@ -1,12 +0,0 @@
{
"version": 1,
"isRoot": true,
"tools": {
"cake.tool": {
"version": "1.3.0",
"commands": [
"dotnet-cake"
]
}
}
}

3
Jenkinsfile vendored
View file

@ -6,8 +6,7 @@ pipeline {
branch 'main'
}
steps {
sh 'dotnet tool restore'
sh 'dotnet cake'
sh 'docfx.exe'
sh 'cp _site/** /var/www/tinylifedocs/ -r'
}
}

View file

@ -1,8 +0,0 @@
#addin Cake.DocFx&version=1.0.0
#tool docfx.console&version=2.58.8
var target = Argument("target", "Document");
Task("Document").Does(() => {
DocFxBuild("docfx.json");
});
RunTarget(target);