TinyLifeWeb/Jenkinsfile

15 lines
247 B
Text
Raw Normal View History

2021-08-04 05:42:02 +02:00
pipeline {
agent any
stages {
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'
}
}
}
}