Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
BIO Parser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Named Entity Recognition
BIO Parser
Commits
99a69fd9
Verified
Commit
99a69fd9
authored
1 year ago
by
Yoann Schneider
Browse files
Options
Downloads
Patches
Plain Diff
Pypi publication
parent
e16b62d0
No related branches found
No related tags found
No related merge requests found
Pipeline
#155373
passed
1 year ago
Stage: test
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+18
-0
18 additions, 0 deletions
.gitlab-ci.yml
with
18 additions
and
0 deletions
.gitlab-ci.yml
+
18
−
0
View file @
99a69fd9
...
...
@@ -179,3 +179,21 @@ docs-stop-surge:
script
:
-
surge teardown ${CI_ENVIRONMENT_URL}
deploy-pypi
:
stage
:
release
image
:
python:3.10
only
:
-
tags
variables
:
TWINE_USERNAME
:
gitlab-ci-token
TWINE_PASSWORD
:
${CI_JOB_TOKEN}
TWINE_REPOSITORY_URL
:
${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi
before_script
:
-
pip install twine build
script
:
-
python setup.py sdist bdist_wheel
-
twine upload --repository-url ${TWINE_REPOSITORY_URL} dist/*
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment