From 98ec113b695be2bb48abda71ff3ce070ab24196f Mon Sep 17 00:00:00 2001 From: jukaifeng Date: Fri, 7 Apr 2023 14:16:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=81=E7=BB=AD=E9=9B=86=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index a65a688..04f7e5d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -24,15 +24,13 @@ steps: commands: - pwd # 查看当前目录 `/drone/src` - ls -alt - - npm config set registry $DLLCNX_NPM_URL # 切换私有仓库 - - npm config set -- $DLLCNX_NPM + - npm config set registry https://dllcnx.com:30000/api/packages/dllcnx.github/npm/ # 切换私有仓库 + - npm config set -- '//dllcnx.com:30000/api/packages/dllcnx.github/npm/:_authToken' $DLLCNX_NPM # 切换私有仓库 - npm publish # 发布 environment: DLLCNX_NPM: from_secret: dllcnx_npm - DLLCNX_NPM_URL: - from_secret: dllcnx_npm_url # when: # event: tag