From aac00eb3ddf360b629b0da8467fbe1d6f81a71a7 Mon Sep 17 00:00:00 2001 From: XinWei <2718030729@qq.com> Date: Mon, 29 Jul 2024 15:37:20 +0800 Subject: [PATCH] init --- .drone.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index bb71064..bba92e2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,7 +6,9 @@ steps: image: node:16.18.1 volumes: - name: build-file - path: /dist + path: /root/crm-build/dist # 容器内路径 + host: + path: /dist # 宿主机路径 commands: - npm install - npm run build @@ -19,7 +21,7 @@ steps: # commands: # - npm run test -- name: deploy - image: nginx:1.21 - commands: - - cp -r dist/. /usr/share/nginx/html \ No newline at end of file +#- name: deploy +# image: nginx:1.21 +# commands: +# - cp -r dist/. /usr/share/nginx/html \ No newline at end of file