diff --git a/ci/Jenkinsfile b/ci/Jenkinsfile index 858bb95..9b3b08e 100644 --- a/ci/Jenkinsfile +++ b/ci/Jenkinsfile @@ -70,6 +70,17 @@ pipeline { } } + stage('Publish') { + when { + branch 'main' + } + steps { + sshagent(['jenkins-repohost']) { + sh '. ci/publish.sh' + } + } + } + } } } diff --git a/ci/prepare.sh b/ci/prepare.sh index 42755a3..fd1c556 100644 --- a/ci/prepare.sh +++ b/ci/prepare.sh @@ -2,7 +2,9 @@ xargs dnf install -y --setopt install_weak_deps=0 <