mirror of
https://github.com/Ellpeck/TinyLifeWeb.git
synced 2024-11-25 12:38:34 +01:00
15 lines
No EOL
247 B
Groovy
15 lines
No EOL
247 B
Groovy
pipeline {
|
|
agent any
|
|
stages {
|
|
stage('Document') {
|
|
when {
|
|
branch 'main'
|
|
}
|
|
steps {
|
|
sh 'dotnet tool restore'
|
|
sh 'dotnet cake'
|
|
sh 'cp _site/** /var/www/tinylifedocs/ -r'
|
|
}
|
|
}
|
|
}
|
|
} |