From: Andrew Gundersen Date: Thu, 15 Apr 2021 14:22:08 +0000 (-0500) Subject: cicd X-Git-Tag: v0.9.4~3 X-Git-Url: https://andrewgundersen.net/repos?a=commitdiff_plain;h=ddffe1a40aea105258dc9623a118c844a615c464;p=mime-chat cicd --- 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