CI/CD integration and auto-build for pypi

This commit is contained in:
Steffen Illium 2023-06-19 10:44:08 +02:00
parent bf3e1e2ea4
commit 8d7ce7e06b
2 changed files with 19 additions and 1 deletions

18
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,18 @@
image: python:3.11-alpine
stages:
- deploy
before_script:
- pip install twine
- python setup.py sdist
deploy_production:
stage: deploy
variables:
TWINE_USERNAME: $USER_NAME
TWINE_PASSWORD: $API_KEY
script:
- twine upload dist/*
only:
- tags

View File

@ -1 +1 @@
global-include *.txt *.png *.jpg
global-include *.txt *.png *.jpg *.yaml *.yml