From 13169ea48a7e22bd7a19ba897a75a1d899b324fc Mon Sep 17 00:00:00 2001 From: Ari Brown Date: Thu, 27 Jul 2023 14:09:45 -0400 Subject: [PATCH] adding gitlab ci file to build package --- .gitlab-ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..894f8bc --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,7 @@ +image: python:latest + +run: + script: + - pip install build twine + - python -m build + - TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python -m twine upload --skip-existing --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/*