mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-06-28 14:01:35 +02:00
Update .gitlab-ci.yml file
This commit is contained in:
@ -1,14 +1,12 @@
|
|||||||
.only-pypi:
|
|
||||||
only:
|
|
||||||
- pypi
|
|
||||||
|
|
||||||
stages: # List of stages for jobs, and their order of execution
|
stages: # List of stages for jobs, and their order of execution
|
||||||
- build
|
- build
|
||||||
|
|
||||||
build-job: # This job runs in the build stage, which runs first.
|
build-job: # This job runs in the build stage, which runs first.
|
||||||
extends: .only-pypi
|
|
||||||
stage: build
|
stage: build
|
||||||
|
|
||||||
|
rules:
|
||||||
|
- if: $CI_COMMIT_REF_NAME == "pypi" #when commit pushed in this branch it will trigger this job
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
TWINE_USERNAME: $USER_NAME
|
TWINE_USERNAME: $USER_NAME
|
||||||
TWINE_PASSWORD: $API_KEY
|
TWINE_PASSWORD: $API_KEY
|
||||||
|
Reference in New Issue
Block a user