Skip to content
Snippets Groups Projects
Commit 2f43b4c5 authored by Lene Wasskog's avatar Lene Wasskog
Browse files

feat: First version of Gitlab CI/CD config file [MAD-91]

parent 8f71f78c
No related branches found
No related tags found
1 merge request!1Feature/mad 91 gitlab pipeline
Pipeline #690 canceled
This commit is part of merge request !1. Comments created here will be created in the context of that merge request.
.gitlab-ci.yml 0 → 100644
default:
image: python:3.10
stages:
- build
- deploy
- pages
before_script:
- python -V
- pip install virtualenv
- virtualenv venv
- source venv/bin/activate
- pip install build twine
build:
stage: build
script:
- python -m build
artifacts:
paths:
- dist/*.whl
expire_in: 2 days
deploy:
stage: deploy
script:
- TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python -m twine upload --repository gitlab dist/* --verbose
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment