From 03f56b59a36e3c21c236fc0e8df944ea214efa77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BD=97=E4=BD=B3=E9=B8=BF?= <2446434034@qq.com> Date: Tue, 13 Aug 2024 01:01:27 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.drone.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 93c3619..ef84b91 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,6 +2,14 @@ kind: pipeline type: docker name: build-and-run +volumes: + - name: node_modules + host: + path: /var/lib/drone/node_modules + - name: vuepress_output + host: + path: /var/lib/drone/vuepress_output + steps: - name: build-project image: node:16.15.1 @@ -25,4 +33,4 @@ steps: commands: - cd /drone/src - npm install -g vuepress - - npm run dev \ No newline at end of file + - npm run dev