From ddffe1a40aea105258dc9623a118c844a615c464 Mon Sep 17 00:00:00 2001 From: Andrew Gundersen Date: Thu, 15 Apr 2021 09:22:08 -0500 Subject: [PATCH] cicd --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 951f12a..07c36fa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 -- 2.43.0