mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-22 20:58:34 +01:00
always generate documentation in ci
This commit is contained in:
parent
b22d2d4d22
commit
a9e243835f
1 changed files with 7 additions and 3 deletions
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
|
@ -9,12 +9,16 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Document') {
|
stage('Document') {
|
||||||
|
steps {
|
||||||
|
sh 'dotnet cake --target Document --branch ' + env.BRANCH_NAME
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Publish Docs') {
|
||||||
when {
|
when {
|
||||||
branch 'release'
|
branch 'release'
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sh 'dotnet cake --target Document'
|
sh 'cp Docs/_site/** /var/www/MLEM/ -r'
|
||||||
sh 'cp Docs/_site/** /var/www/MLEM/ -r'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue