更新发布路径

This commit is contained in:
jukaifeng 2024-03-18 16:42:16 +08:00
parent cd1d0c978d
commit 4f202355d4
1 changed files with 2 additions and 2 deletions

View File

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