Commit fccffed4 authored by Adrian DC's avatar Adrian DC
Browse files

chore: gitlab-ci: add Test PyPI uploader local manual job

parent e2a56951
Loading
Loading
Loading
Loading
+12 −0
Changes for .gitlab-ci.yml: 12 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -278,3 +278,15 @@ stages:
    - twine upload -u '__token__' -p "${TWINE_PASSWORD}" dist/*
  only:
    - tags

'Deploy Test':
  stage: deploy
  variables:
    TWINE_PASSWORD_TEST: ${TWINE_PASSWORD_TEST}
  script:
    - pip3 install -r requirements-dev.txt --upgrade
    - python3 setup.py bdist_wheel
    - twine upload -u '__token__' -p "${TWINE_PASSWORD_TEST}" --repository testpypi dist/*
  only:
    - local
  when: manual