File tree Expand file tree Collapse file tree 2 files changed +22
-3
lines changed Expand file tree Collapse file tree 2 files changed +22
-3
lines changed Original file line number Diff line number Diff line change 1+ name : GHPages
2+
3+ on :
4+ push :
5+ branches : [master]
6+
7+ jobs :
8+ deploy-docs :
9+ runs-on : macos-latest
10+ steps :
11+ - uses : actions/checkout@v2
12+ - uses : actions/setup-node@v1
13+ - name : Install Packages
14+ run : npm install
15+ - name : Build docs
16+ run : npm run docs:build
17+ - name : Deploy
18+ uses : peaceiris/actions-gh-pages@v3
19+ with :
20+ github_token : ${{ secrets.GITHUB_TOKEN }}
21+ publish_dir : ./docs/.vuepress/dist
22+ force_orphan : true
Original file line number Diff line number Diff line change 3030 "predocs:watch" : " npm run build:ts" ,
3131 "docs:watch" : " vuepress dev --debug docs" ,
3232 "docs:build" : " npm run build:ts && vuepress build docs --no-cache" ,
33- "docs-deploysetup" : " npm run docs:build && npm run docs-deploysetup:clean && npm run docs-deploysetup:copy" ,
34- "docs-deploysetup:clean" : " rimraf assets" ,
35- "docs-deploysetup:copy" : " npx cpx \" docs/\\ .vuepress/dist/**\" . -u" ,
3633 "preversion" : " npm test && npm run update && git add ." ,
3734 "version" : " npm run eslint-fix && git add ."
3835 },
You can’t perform that action at this time.
0 commit comments