diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 011b3bdc66eabc11dee77df0e234db96753f00af..054df3ef2f9a317a60c9f6d545f97e99375f645a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,8 +12,6 @@ default: stages: - prepare - lint - # check if this needs to be a separate step - # - build_extensions - test - package - images @@ -140,41 +138,6 @@ publish_on_gitlab: python -m twine upload \ --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/* -publish_on_test_pypi: - stage: publish - environment: pypi-test - needs: - - package_files - when: manual - rules: - - if: '$CI_COMMIT_TAG && $CI_COMMIT_REF_PROTECTED == "true"' - script: - - echo "run twine for test pypi" - # - | - # TWINE_PASSWORD=${PIPY_TOKEN} \ - # TWINE_USERNAME=${PIPY_USERNAME} \ - # TODO: replace URL with a pipy URL - # python -m twine upload \ - # --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/* - - exit 1 - -publish_on_pypi: - stage: publish - environment: pypi - needs: - - package_files - when: manual - rules: - - if: '$CI_COMMIT_TAG && $CI_COMMIT_REF_PROTECTED == "true"' - script: - - echo "run twine for pypi" - # - | - # TWINE_PASSWORD=${PIPY_TOKEN} \ - # TWINE_USERNAME=${PIPY_USERNAME} \ - # TODO: replace URL with a pipy URL - # python -m twine upload \ - # --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/* - - exit 1 publish_to_readthedocs: stage: publish