1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-26 14:38:34 +01:00

always generate documentation in ci

This commit is contained in:
Ell 2021-11-07 02:55:00 +01:00
parent b22d2d4d22
commit a9e243835f

6
Jenkinsfile vendored
View file

@ -9,11 +9,15 @@ 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'
} }
} }