File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 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 }}
Original file line number Diff line number Diff line change 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 :
You can’t perform that action at this time.
0 commit comments