make publish only run on stable branch

This commit is contained in:
Marie 2024-02-03 23:04:54 +00:00
parent 46052d0e10
commit 079b0dd655

View file

@ -15,7 +15,7 @@ publish-npm:
stage: deploy
needs: ['test']
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- if: $CI_COMMIT_BRANCH == "stable"
changes:
paths:
- package.json