You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2018/12/13 16:08:10 UTC

[camel-website] 01/01: CAMEL-11500: deploy only from the `master` branch

This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch test-staging
in repository https://gitbox.apache.org/repos/asf/camel-website.git

commit 1a67438d73a39b489fa93a4d421b520825d5faf1
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Thu Dec 13 17:07:54 2018 +0100

    CAMEL-11500: deploy only from the `master` branch
---
 Jenkinsfile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Jenkinsfile b/Jenkinsfile
index 22ae458..a4766e4 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -60,6 +60,10 @@ pipeline {
         }
 
         stage('Deploy') {
+            when {
+                branch 'master'
+            }
+
             steps {
                 dir('deploy/staging') {
                     deleteDir()