更新 .drone.yml
This commit is contained in:
parent
624a4e17df
commit
03f56b59a3
10
.drone.yml
10
.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
|
||||
- npm run dev
|
||||
|
|
|
|||
Loading…
Reference in New Issue