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