持续集成
continuous-integration/drone/push Build is passing Details

This commit is contained in:
jukaifeng 2023-04-07 14:16:27 +08:00
parent 9fb38fadd3
commit 98ec113b69
1 changed files with 2 additions and 4 deletions

View File

@ -24,15 +24,13 @@ steps:
commands: commands:
- pwd # 查看当前目录 `/drone/src` - pwd # 查看当前目录 `/drone/src`
- ls -alt - ls -alt
- npm config set registry $DLLCNX_NPM_URL # 切换私有仓库 - npm config set registry https://dllcnx.com:30000/api/packages/dllcnx.github/npm/ # 切换私有仓库
- npm config set -- $DLLCNX_NPM - npm config set -- '//dllcnx.com:30000/api/packages/dllcnx.github/npm/:_authToken' $DLLCNX_NPM
# 切换私有仓库 # 切换私有仓库
- npm publish # 发布 - npm publish # 发布
environment: environment:
DLLCNX_NPM: DLLCNX_NPM:
from_secret: dllcnx_npm from_secret: dllcnx_npm
DLLCNX_NPM_URL:
from_secret: dllcnx_npm_url
# when: # when:
# event: tag # event: tag