Compare commits
No commits in common. "master" and "main" have entirely different histories.
|
|
@ -0,0 +1,36 @@
|
||||||
|
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
|
||||||
|
volumes:
|
||||||
|
- name: node_modules
|
||||||
|
path: /drone/src/node_modules
|
||||||
|
commands:
|
||||||
|
- pwd
|
||||||
|
- ls -alt
|
||||||
|
- npm config set registry https://registry.npm.taobao.org
|
||||||
|
- npm install
|
||||||
|
- npm run build
|
||||||
|
|
||||||
|
- name: run-vuepress
|
||||||
|
image: node:16.15.1
|
||||||
|
volumes:
|
||||||
|
- name: node_modules
|
||||||
|
path: /drone/src/node_modules
|
||||||
|
- name: vuepress_output
|
||||||
|
path: /drone/src/.vuepress/dist
|
||||||
|
commands:
|
||||||
|
- cd /drone/src
|
||||||
|
- npm install -g vuepress
|
||||||
|
- npm run dev
|
||||||
|
|
@ -25,3 +25,11 @@ features:
|
||||||
- title: Tomorrow
|
- title: Tomorrow
|
||||||
details: 希望更多的爱好者能够参与进来,帮助这个主题更好的成长
|
details: 希望更多的爱好者能够参与进来,帮助这个主题更好的成长
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ date: 2018-12-15
|
||||||
tags:
|
tags:
|
||||||
- tag1
|
- tag1
|
||||||
categories:
|
categories:
|
||||||
- category1
|
- 在深思熟虑之后,我选择了,后缀
|
||||||
---
|
---
|
||||||
|
|
||||||
first page in category1
|
first page in category1
|
||||||
|
|
@ -7,4 +7,4 @@ categories:
|
||||||
- category2
|
- category2
|
||||||
---
|
---
|
||||||
|
|
||||||
first page in category2
|
first page in category274812947923
|
||||||
Loading…
Reference in New Issue