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:
Jakub Sokołowski 2022-02-21 10:52:48 +01:00
parent ad6d4b2298
commit c60811852d
No known key found for this signature in database
GPG Key ID: 09AA5403E54D9931
1 changed files with 1 additions and 1 deletions

View File

@ -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'