This commit is contained in:
@@ -27,8 +27,8 @@ steps: # 定义管道的执行步骤
|
|||||||
commands: # 当前步骤执行的命令
|
commands: # 当前步骤执行的命令
|
||||||
- ls
|
- ls
|
||||||
- pnpm config set registry https://registry.npmmirror.com # 切换源
|
- pnpm config set registry https://registry.npmmirror.com # 切换源
|
||||||
- pnpm i # 安装node_modules包
|
- pnpm install
|
||||||
- pnpm run build # 执行编译
|
- pnpm build
|
||||||
# - name: depoly
|
# - name: depoly
|
||||||
# depends_on: [build] # 依赖的步骤
|
# depends_on: [build] # 依赖的步骤
|
||||||
# image: appleboy/drone-scp
|
# image: appleboy/drone-scp
|
||||||
|
|||||||
Reference in New Issue
Block a user