Skip to content

Commit 560cfb8

Browse files
committed
feat: init
0 parents  commit 560cfb8

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

.github/workflows/gitee.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Deploy Gitee Docs
2+
3+
on:
4+
push:
5+
branches:
6+
- gh-pages
7+
8+
jobs:
9+
deploy-gitee:
10+
name: Deploy V2 docs to Gitee
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v2
15+
16+
- uses: actions/setup-node@v3
17+
with:
18+
node-version: "16"
19+
20+
- name: Install Prettier
21+
run: yarn install -g prettier
22+
23+
- name: Lint project
24+
run: yarn prettier --write **/*.html
25+
26+
- name: Deploy
27+
uses: JamesIves/github-pages-deploy-action@v4
28+
with:
29+
branch: gitee
30+
token: ${{ secrets.ACCESS_TOKEN }}

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# V2 Docs
2+
3+
### This repo holds docs of V2 Theme and Plugins. You can [visit theme docs](https://vuepress-theme-hope.github.io/v2/) directly.:tada:

0 commit comments

Comments
 (0)