diff --git a/automation/Jenkinsfile b/automation/Jenkinsfile index 64c23f4..a4144db 100644 --- a/automation/Jenkinsfile +++ b/automation/Jenkinsfile @@ -7,6 +7,9 @@ pipeline { } stages { stage('Deployment') { + when { + branch 'main' + } steps { sshagent(credentials: ['documentation-buildfix']) { // Deploy to Apache webserver