mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-05-22 14:56:43 +02:00
CI/CD integration and auto-build for pypi
This commit is contained in:
parent
bf3e1e2ea4
commit
8d7ce7e06b
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
|
Loading…
x
Reference in New Issue
Block a user