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