mirror of
https://github.com/Ellpeck/TinyLifeWeb.git
synced 2024-11-22 11:23:29 +01:00
just run the global docfx installation
This commit is contained in:
parent
4af8ef78a4
commit
ce4f5ed317
3 changed files with 1 additions and 22 deletions
|
@ -1,12 +0,0 @@
|
||||||
{
|
|
||||||
"version": 1,
|
|
||||||
"isRoot": true,
|
|
||||||
"tools": {
|
|
||||||
"cake.tool": {
|
|
||||||
"version": "1.3.0",
|
|
||||||
"commands": [
|
|
||||||
"dotnet-cake"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
|
@ -6,8 +6,7 @@ pipeline {
|
||||||
branch 'main'
|
branch 'main'
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sh 'dotnet tool restore'
|
sh 'docfx.exe'
|
||||||
sh 'dotnet cake'
|
|
||||||
sh 'cp _site/** /var/www/tinylifedocs/ -r'
|
sh 'cp _site/** /var/www/tinylifedocs/ -r'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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);
|
|
Loading…
Reference in a new issue