diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 610ac233afe6d6bd3916a690da04dff22a0a535b..ed1fe28336cdfce3cd7ebc9eb9d3ce860a6e98c7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -49,30 +49,8 @@ client-lint: script: - pre-commit run -a -client-deploy-testpypi: - stage: test-deploy - only: - - tags@arkindex/api-client - environment: - name: testpypi - url: https://test.pypi.org/project/arkindex-client - - before_script: - - pip install twine setuptools wheel - - echo "[distutils]" > ~/.pypirc - - echo "index-servers =" >> ~/.pypirc - - echo " testpypi" >> ~/.pypirc - - echo "[testpypi]" >> ~/.pypirc - - echo "repository=https://test.pypi.org/legacy/" >> ~/.pypirc - - echo "username=$PYPI_DEPLOY_USERNAME" >> ~/.pypirc - - echo "password=$PYPI_DEPLOY_PASSWORD" >> ~/.pypirc - script: - - python setup.py sdist bdist_wheel - - twine upload dist/* -r testpypi - client-deploy-pypi: stage: deploy - when: manual only: - tags@arkindex/api-client environment: