diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 703ae0a..99febe5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,7 +5,8 @@ build-deploy: # This job runs in the build stage, which runs first. TWINE_PASSWORD: $CI_JOB_TOKEN script: - pip install build twine + - mkdir build/src/AirwatchAPI/ - mv AirwatchAPI.py build/src/AirwatchAPI/ - - cd build/ + - cd /build/ - python -m build - python -m twine upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/*