From 17ba452d22efc531ad9527c52bb5a99f51b1a1a1 Mon Sep 17 00:00:00 2001 From: MrKBear Date: Sun, 20 Feb 2022 03:02:15 +0800 Subject: [PATCH] Drone CI Test --- .drone.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index d33dbdc..8adb313 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,8 +6,17 @@ steps: - name: npm build pull: if-not-exists image: node + volumes: + - name: publish + path: /tmp/cache commands: - npm config set registry https://registry.npm.taobao.org - npm ci - npm run release-lab - - cp -r build/* /http/demo/living-together-lab/ + - mkdir /tmp/cache + - cp -r build/* /tmp/cache + +volumes: +- name: publish + host: + path: /http/demo/living-together-lab \ No newline at end of file