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