fix : 修复drone.yml

This commit is contained in:
2024-09-15 17:33:53 +08:00
parent e27d1daa0c
commit ac3d2b199c

View File

@@ -1,17 +1,12 @@
kind: pipeline kind: pipeline
type: docker type: docker
name: SmartOpsWeb name: SmartOpsWeb
platform:
os: linux
arch: amd64
steps: steps:
- name: build-package - name: build-package
image: registry.cn-chengdu.aliyuncs.com/claywang/node:16.20.0 image: registry.cn-chengdu.aliyuncs.com/claywang/node:16.20.0
volumes: volumes:
- name: cache - name: cache
path: /drone/src/node_modules path: /drone/src/node_modules
- name: build
path: /app/build
commands: commands:
- export CI=false - export CI=false
- mkdir -p /app/build/$DRONE_REPO_NAME - mkdir -p /app/build/$DRONE_REPO_NAME