Update .gitlab-ci.yml file

This commit is contained in:
Jason Secula
2026-02-13 14:35:50 +01:00
parent 73f21ac6cd
commit 069caaf2d1

View File

@@ -1,6 +1,11 @@
image: python:latest
stages:
- build
- deploy
build: # This job runs in the build stage, which runs first.
stage: build
script:
- pip install build twine
- mkdir build/src/AirwatchAPI/
@@ -8,6 +13,7 @@ build: # This job runs in the build stage, which runs first.
- cd build/
- python -m build
deploy:
stage: deploy
variables:
TWINE_USERNAME: gitlab-ci-token
TWINE_PASSWORD: $CI_JOB_TOKEN