File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed
Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,17 @@ name: docs
22
33on :
44 push :
5- pull_request :
5+ branches : [main]
6+ workflow_dispatch :
7+
8+ permissions :
9+ contents : read
10+ pages : write
11+ id-token : write
12+
13+ concurrency :
14+ group : " pages"
15+ cancel-in-progress : false
616
717jobs :
818 build :
2030 run : pnpm install --frozen-lockfile
2131 - name : Build
2232 run : pnpm run docs:build
33+ - name : Upload Pages artifact
34+ uses : actions/upload-pages-artifact@v3
35+ with :
36+ path : docs/.vuepress/dist
37+
38+ deploy :
39+ needs : build
40+ runs-on : ubuntu-latest
41+ environment :
42+ name : github-pages
43+ url : ${{ steps.deployment.outputs.page_url }}
44+ steps :
45+ - id : deployment
46+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ export default {
44 lang : "zh-CN" ,
55 title : "Epoch" ,
66 description : "Epoch Actor Runtime 设计与文档" ,
7+ base : "/epoch/" ,
78 theme : defaultTheme ( {
89 navbar : [
910 { text : "文档" , link : "/" } ,
You can’t perform that action at this time.
0 commit comments