Skip to content
Snippets Groups Projects
Commit 8c4fe0c2 authored by istmxrein's avatar istmxrein
Browse files

fix gitlab-ci

parent e9726d1d
Branches main
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ run: ...@@ -7,7 +7,7 @@ run:
- ls -al - ls -al
- TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python -m twine upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/* - TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python -m twine upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/*
- | - |
for file in pilab-*; do for file in dist/*; do
if [[ -f "$file" ]]; then if [[ -f "$file" ]]; then
curl -L --fail -T $file "https://artifact.pi-lab.users.h-da.cloud/files/" -u ${ARTIFACT_SERVER_TOKEN} curl -L --fail -T $file "https://artifact.pi-lab.users.h-da.cloud/files/" -u ${ARTIFACT_SERVER_TOKEN}
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment