Source env each time
This commit is contained in:
@@ -21,6 +21,7 @@ test:
|
||||
rules:
|
||||
- when: always
|
||||
script:
|
||||
- source init_env.sh
|
||||
- echo "Haha no tests yet"
|
||||
|
||||
deploy:
|
||||
@@ -31,4 +32,5 @@ deploy:
|
||||
# run on commits to main
|
||||
- if: $CI_COMMIT_BRANCH == "master"
|
||||
script:
|
||||
- source init_env.sh
|
||||
- TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python -m twine upload --repository-url ${CI_API_V4_URL}/projects/${PACKAGE_PROJECT_ID}/packages/pypi dist/*
|
||||
|
||||
Reference in New Issue
Block a user