diff --git a/Jenkinsfile b/Jenkinsfile index cf917b04..13f83888 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -35,6 +35,12 @@ pipeline { ''' } } + stage('Sync github repos') { + when { branch 'master' } + steps { + syncRemoteBranch('git@github.com:nbr23/youtube-dl-server.git', 'master') + } + } } post {