1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-12-26 02:09:24 +01:00

Merge remote-tracking branch 'origin/main'

This commit is contained in:
Ell 2023-04-15 15:12:02 +02:00
commit 1f315def2d

5
Jenkinsfile vendored
View file

@ -16,13 +16,18 @@ pipeline {
stage('Document') {
steps {
sh 'dotnet cake --target Document --branch ' + env.BRANCH_NAME
stash includes: 'Docs/_site/**', name: 'site'
}
}
stage('Publish Docs') {
agent {
label 'web'
}
when {
branch 'release'
}
steps {
unstash 'site'
sh 'rm -rf /var/www/MLEM/*'
sh 'cp Docs/_site/** /var/www/MLEM/ -r'
}