Skip to content
Snippets Groups Projects
Commit 3d75a78c authored by Thomas Schneider's avatar Thomas Schneider
Browse files

ci: Publish package only on tags and default branch

parent 9ccd4e3f
No related branches found
No related tags found
No related merge requests found
Pipeline #6408 passed
......@@ -71,3 +71,6 @@ publish:
PDM_PUBLISH_PASSWORD: ${CI_JOB_TOKEN}
script:
- pdm publish --no-build
rules:
- if: $CI_COMMIT_TAG
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment