Update .gitlab-ci.yml file
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user