File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed
Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+
2+ name : Deploy Docs
3+
4+ on :
5+ push :
6+ branches :
7+ # make sure this is the branch you are using
8+ - main
9+
10+ permissions :
11+ contents : write
12+
13+ jobs :
14+ deploy-gh-pages :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Checkout
18+ uses : actions/checkout@v3
19+ with :
20+ fetch-depth : 0
21+ # if your docs needs submodules, uncomment the following line
22+ # submodules: true
23+
24+
25+
26+ - name : Setup Node.js
27+ uses : actions/setup-node@v3
28+ with :
29+ node-version : 20
30+ cache : yarn
31+
32+ - name : Install Deps
33+ run : yarn install --frozen-lockfile
34+
35+ - name : Build Docs
36+ env :
37+ NODE_OPTIONS : --max_old_space_size=8192
38+ run : |-
39+ yarn run docs:build
40+ > docs/.vuepress/dist/.nojekyll
41+
42+ - name : Deploy Docs
43+ uses : JamesIves/github-pages-deploy-action@v4
44+ with :
45+ # This is the branch where the docs are deployed to
46+ branch : gh-pages
47+ folder : docs/.vuepress/dist
You can’t perform that action at this time.
0 commit comments