]> Repos - mime-chat/commitdiff
cicd
authorAndrew Gundersen <gundersena@xavier.edu>
Thu, 15 Apr 2021 14:22:08 +0000 (09:22 -0500)
committerAndrew Gundersen <gundersena@xavier.edu>
Thu, 15 Apr 2021 14:22:08 +0000 (09:22 -0500)
.gitlab-ci.yml

index 951f12a771b8178a31e6fb4d1426d48f7b7d6617..07c36faf88d9850d916065956327499c682b1a59 100644 (file)
@@ -42,7 +42,7 @@ upload:
     - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH # Run this job when when commits are pushed to the default branch
   script:
     # Take the package we built and place it in the package registry.
-    - 'curl --header "JOB-TOKEN: $CI_DEPLOY_PASSWORD" --upload-file "./dist_electron/${PACKAGE}" "${PACKAGE_REGISTRY_URL}/${PACKAGE}"'
+    - 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file "dist_electron/${PACKAGE}" "${PACKAGE_REGISTRY_URL}/${PACKAGE}"'
 
 auto-release-master:
   image: registry.gitlab.com/gitlab-org/release-cli