持续集成
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
3aefd8c2cf
commit
9fb38fadd3
10
.drone.yml
10
.drone.yml
|
@ -21,11 +21,6 @@ steps:
|
||||||
|
|
||||||
- name: public-dllcnx # 步骤名称
|
- name: public-dllcnx # 步骤名称
|
||||||
image: node:12.22.5 # 使用镜像和版本
|
image: node:12.22.5 # 使用镜像和版本
|
||||||
environment:
|
|
||||||
DLLCNX_NPM:
|
|
||||||
from_secret: dllcnx_npm
|
|
||||||
DLLCNX_NPM_URL:
|
|
||||||
from_secret: dllcnx_npm_urls
|
|
||||||
commands:
|
commands:
|
||||||
- pwd # 查看当前目录 `/drone/src`
|
- pwd # 查看当前目录 `/drone/src`
|
||||||
- ls -alt
|
- ls -alt
|
||||||
|
@ -33,6 +28,11 @@ steps:
|
||||||
- npm config set -- $DLLCNX_NPM
|
- npm config set -- $DLLCNX_NPM
|
||||||
# 切换私有仓库
|
# 切换私有仓库
|
||||||
- npm publish # 发布
|
- npm publish # 发布
|
||||||
|
environment:
|
||||||
|
DLLCNX_NPM:
|
||||||
|
from_secret: dllcnx_npm
|
||||||
|
DLLCNX_NPM_URL:
|
||||||
|
from_secret: dllcnx_npm_url
|
||||||
# when:
|
# when:
|
||||||
# event: tag
|
# event: tag
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue