TinyLifeWeb/Jenkinsfile
2021-08-04 06:15:11 +02:00

20 lines
No EOL
364 B
Groovy

pipeline {
agent any
stages {
stage('Submodules') {
steps {
sh 'git submodule update --init --recursive --force'
}
}
stage('Document') {
when {
branch 'main'
}
steps {
sh 'dotnet tool restore'
sh 'dotnet cake'
sh 'cp _site/** /var/www/tinylifedocs/ -r'
}
}
}
}