Merge branch 'dev' into 'main'
Update ci cd See merge request trustcafe/trustcafe-api-wrapper!2
This commit is contained in:
commit
42d6750cca
1 changed files with 6 additions and 3 deletions
|
|
@ -28,12 +28,15 @@ test:
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
stage: publish
|
stage: publish
|
||||||
|
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
||||||
when: never
|
when: never
|
||||||
- if: '$CI_PIPELINE_SOURCE == "push"'
|
- if: '$CI_COMMIT_BRANCH == "master"'
|
||||||
when: never # Prevent pipeline run for push event
|
when: on_success
|
||||||
- when: on_success
|
# - if: '$CI_PIPELINE_SOURCE == "push"'
|
||||||
|
# when: never # Prevent pipeline run for push event
|
||||||
|
- when: never
|
||||||
needs:
|
needs:
|
||||||
- test
|
- test
|
||||||
image: ghcr.io/astral-sh/uv:$UV_VERSION-python$PYTHON_VERSION-$BASE_LAYER
|
image: ghcr.io/astral-sh/uv:$UV_VERSION-python$PYTHON_VERSION-$BASE_LAYER
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue