From 5f0556c5c9f1056b54d13b89282c46ff934063c8 Mon Sep 17 00:00:00 2001 From: Jason Secula Date: Fri, 13 Feb 2026 14:09:10 +0100 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..703ae0a --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,11 @@ +build-deploy: # This job runs in the build stage, which runs first. + image: python:latest + variables: + TWINE_USERNAME: gitlab-ci-token + TWINE_PASSWORD: $CI_JOB_TOKEN + script: + - pip install build twine + - mv AirwatchAPI.py build/src/AirwatchAPI/ + - cd build/ + - python -m build + - python -m twine upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/*