only push for main
This commit is contained in:
parent
58a77754ec
commit
c84cb0dda5
3
automation/Jenkinsfile
vendored
3
automation/Jenkinsfile
vendored
@ -7,6 +7,9 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('Deployment') {
|
stage('Deployment') {
|
||||||
|
when {
|
||||||
|
branch 'main'
|
||||||
|
}
|
||||||
steps {
|
steps {
|
||||||
sshagent(credentials: ['documentation-buildfix']) {
|
sshagent(credentials: ['documentation-buildfix']) {
|
||||||
// Deploy to Apache webserver
|
// Deploy to Apache webserver
|
||||||
|
Reference in New Issue
Block a user