mirror of
https://github.com/Ellpeck/TinyLifeWeb.git
synced 2024-11-22 19:28:35 +01:00
added local docfx installation
This commit is contained in:
parent
3559527bda
commit
b4c4217e45
2 changed files with 15 additions and 1 deletions
12
.config/dotnet-tools.json
Normal file
12
.config/dotnet-tools.json
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"version": 1,
|
||||||
|
"isRoot": false,
|
||||||
|
"tools": {
|
||||||
|
"docfx": {
|
||||||
|
"version": "2.61.0",
|
||||||
|
"commands": [
|
||||||
|
"docfx"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -18,7 +18,9 @@ pipeline {
|
||||||
branch 'main'
|
branch 'main'
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sh 'cd docs; docfx'
|
sh '''cd docs
|
||||||
|
dotnet tool restore
|
||||||
|
dotnet docfx'''
|
||||||
sh 'rm -rf /var/www/tinylifedocs/*'
|
sh 'rm -rf /var/www/tinylifedocs/*'
|
||||||
sh 'cp -r docs/_site/. /var/www/tinylifedocs/'
|
sh 'cp -r docs/_site/. /var/www/tinylifedocs/'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue