James Allen пре 9 година
родитељ
комит
340aa98de5
1 измењених фајлова са 11 додато и 0 уклоњено
  1. 11 0
      services/document-updater/Jenkinsfile

+ 11 - 0
services/document-updater/Jenkinsfile

@@ -60,6 +60,17 @@ pipeline {
         }
       }
     }
+
+    stage('Sync OSS') {
+      when {
+        branch 'master'
+      }
+      steps {
+        sshagent (credentials: ['GIT_DEPLOY_KEY']) {
+          sh 'git push git@github.com:sharelatex/document-updater-sharelatex.git HEAD:master'
+        }
+      }
+    }
   }
 
   post {