From 2c3cd7f232bb4cfd5d03516b0046ac5b62cbf744 Mon Sep 17 00:00:00 2001 From: Byron Lathi Date: Thu, 6 Jun 2024 18:56:44 -0700 Subject: [PATCH] Source env each time --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6d913dc..f6824b6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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/*