only push for main

This commit is contained in:
Robin Müller 2023-09-19 20:49:40 +02:00
parent 58a77754ec
commit c84cb0dda5
Signed by: muellerr
GPG Key ID: FCE0B2BD2195142F

View File

@ -7,6 +7,9 @@ pipeline {
}
stages {
stage('Deployment') {
when {
branch 'main'
}
steps {
sshagent(credentials: ['documentation-buildfix']) {
// Deploy to Apache webserver