持续集成
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
9fb38fadd3
commit
98ec113b69
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue