From 21bc807d80af9a8637c0a516545519fe496fc6f4 Mon Sep 17 00:00:00 2001 From: CoCo_Code_Op1123 Date: Fri, 18 Jun 2021 16:48:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0.codechina-ci.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .codechina-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.codechina-ci.yml b/.codechina-ci.yml index 86e616e..6a1faf3 100644 --- a/.codechina-ci.yml +++ b/.codechina-ci.yml @@ -23,12 +23,12 @@ publish: script: # If no .npmrc if included in the repo, generate a temporary one - echo $NPM_PUBLISH_TOKEN - - echo "https//registry.npmjs.org/:_authToken=\${NPM_PUBLISH_TOKEN}" + - echo "https//registry.npmjs.org/:_authToken=${NPM_PUBLISH_TOKEN}" - | if [[ ! -f .npmrc ]]; then echo 'No .npmrc found! Creating one now. Now we will generate one' { - echo "https//registry.npmjs.org/:_authToken=\${NPM_PUBLISH_TOKEN}" + echo "https//registry.npmjs.org/:_authToken=${NPM_PUBLISH_TOKEN}" } >> .npmrc fi - echo "Created the following .npmrc:"; cat .npmrc -- GitLab