mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-12-13 10:50:36 +01:00
CI/CD integration and auto-build for pypi
This commit is contained in:
18
.gitlab-ci.yml
Normal file
18
.gitlab-ci.yml
Normal 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
|
||||||
@@ -1 +1 @@
|
|||||||
global-include *.txt *.png *.jpg
|
global-include *.txt *.png *.jpg *.yaml *.yml
|
||||||
Reference in New Issue
Block a user