TinyLifeWeb/Jenkinsfile

20 lines
364 B
Text
Raw Normal View History

2021-08-04 05:42:02 +02:00
pipeline {
agent any
stages {
2021-08-04 06:52:38 +02:00
stage('Submodules') {
steps {
sh 'git submodule update --init --recursive --force'
}
}
2021-08-04 05:42:02 +02:00
stage('Document') {
when {
2021-08-04 05:44:15 +02:00
branch 'main'
2021-08-04 05:42:02 +02:00
}
steps {
sh 'dotnet tool restore'
sh 'dotnet cake'
sh 'cp _site/** /var/www/tinylifedocs/ -r'
}
}
}
}