mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Add OSS syncing task
This commit is contained in:
parent
ad745f133d
commit
340aa98de5
1 changed files with 11 additions and 0 deletions
11
services/document-updater/Jenkinsfile
vendored
11
services/document-updater/Jenkinsfile
vendored
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue