Browse Source

Add OSS syncing task

James Allen 9 năm trước cách đây
mục cha
commit
340aa98de5

+ 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 {
   post {