mirror of
https://github.com/Ellpeck/TinyLifeWeb.git
synced 2024-12-22 22:59:23 +01:00
15 lines
250 B
Text
15 lines
250 B
Text
|
pipeline {
|
||
|
agent any
|
||
|
stages {
|
||
|
stage('Document') {
|
||
|
when {
|
||
|
branch 'release'
|
||
|
}
|
||
|
steps {
|
||
|
sh 'dotnet tool restore'
|
||
|
sh 'dotnet cake'
|
||
|
sh 'cp _site/** /var/www/tinylifedocs/ -r'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|