Compare commits
No commits in common. "main" and "master" have entirely different histories.
36
.drone.yml
36
.drone.yml
|
|
@ -1,36 +0,0 @@
|
|||
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
|
||||
10
README.md
10
README.md
|
|
@ -24,12 +24,4 @@ features:
|
|||
details: 希望帮助更多的人花更多的时间在内容创作上,而不是博客搭建上
|
||||
- title: Tomorrow
|
||||
details: 希望更多的爱好者能够参与进来,帮助这个主题更好的成长
|
||||
---
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
|
@ -4,7 +4,7 @@ date: 2018-12-15
|
|||
tags:
|
||||
- tag1
|
||||
categories:
|
||||
- 在深思熟虑之后,我选择了,后缀
|
||||
- category1
|
||||
---
|
||||
|
||||
first page in category1
|
||||
|
|
@ -7,4 +7,4 @@ categories:
|
|||
- category2
|
||||
---
|
||||
|
||||
first page in category274812947923
|
||||
first page in category2
|
||||
Loading…
Reference in New Issue