build: Docs bouwen en publiceren

This commit is contained in:
Philippe Zwietering
2026-09-08 17:22:50 +02:00
parent 61ca20a5e1
commit c3e6ea7b88
Vendored
+13
View File
@@ -14,6 +14,13 @@ pipeline {
}
}
stage('Build docs') {
steps {
sh 'cargo doc'
archiveArtifacts artifacts: 'target/doc'
}
}
stage('Deploy') {
steps {
sh 'rm -r /var/www/zwietering.eu/projects/double-pendulum'
@@ -21,6 +28,12 @@ pipeline {
sh 'cp -r ./pkg/* /var/www/zwietering.eu/projects/double-pendulum'
}
}
stage('Deploy docs') {
steps {
sh 'cp -r ./target/doc/ /var/www/zwietering.eu/projects/double-pendulum'
}
}
}
post {