TinyLifeWeb/Jenkinsfile

15 lines
256 B
Text
Raw Permalink 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 {
2021-11-09 01:26:22 +01:00
sh 'docfx.exe'
2021-11-26 19:42:45 +01:00
sh 'rm -rf /var/www/tinylifedocs/*'
2021-08-04 05:42:02 +02:00
sh 'cp _site/** /var/www/tinylifedocs/ -r'
}
}
}
}