Compare commits

...

No commits in common. "master" and "main" have entirely different histories.
master ... main

4 changed files with 47 additions and 3 deletions

36
.drone.yml Normal file
View File

@ -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

View File

@ -24,4 +24,12 @@ features:
details: 希望帮助更多的人花更多的时间在内容创作上,而不是博客搭建上 details: 希望帮助更多的人花更多的时间在内容创作上,而不是博客搭建上
- title: Tomorrow - title: Tomorrow
details: 希望更多的爱好者能够参与进来,帮助这个主题更好的成长 details: 希望更多的爱好者能够参与进来,帮助这个主题更好的成长
--- ---

View File

@ -4,7 +4,7 @@ date: 2018-12-15
tags: tags:
- tag1 - tag1
categories: categories:
- category1 - 在深思熟虑之后,我选择了,后缀
--- ---
first page in category1 first page in category1

View File

@ -7,4 +7,4 @@ categories:
- category2 - category2
--- ---
first page in category2 first page in category274812947923