mirror of https://github.com/waku-org/js-waku.git
ci: fix publish step conditional branch check
https://github.com/status-im/js-waku/issues/556 Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
ad6d4b2298
commit
c60811852d
|
@ -39,7 +39,7 @@ pipeline {
|
|||
}
|
||||
|
||||
stage('Publish') {
|
||||
when { expression { GIT_BRANCH.endsWith('build-examples') } }
|
||||
when { expression { GIT_BRANCH.endsWith('master') } }
|
||||
steps { script {
|
||||
sshagent(credentials: ['status-im-auto-ssh']) {
|
||||
sh 'npm run deploy'
|
||||
|
|
Loading…
Reference in New Issue