From a9e243835f806d3c3b4c527ecec409eadace2849 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sun, 7 Nov 2021 02:55:00 +0100 Subject: [PATCH] always generate documentation in ci --- Jenkinsfile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index b3c2521..0b84ab9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,12 +9,16 @@ pipeline { } } stage('Document') { + steps { + sh 'dotnet cake --target Document --branch ' + env.BRANCH_NAME + } + } + stage('Publish Docs') { when { - branch 'release' + branch 'release' } steps { - sh 'dotnet cake --target Document' - sh 'cp Docs/_site/** /var/www/MLEM/ -r' + sh 'cp Docs/_site/** /var/www/MLEM/ -r' } } }