File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Deploy Docs
2+
3+ on :
4+ push :
5+ branches : [main]
6+ paths :
7+ - " docs/**"
8+ - " .github/workflows/docs.yml"
9+ workflow_dispatch :
10+
11+ permissions :
12+ contents : read
13+ pages : write
14+ id-token : write
15+
16+ concurrency :
17+ group : pages
18+ cancel-in-progress : false
19+
20+ jobs :
21+ build :
22+ runs-on : ubuntu-latest
23+ defaults :
24+ run :
25+ working-directory : docs
26+ steps :
27+ - uses : actions/checkout@v4
28+
29+ - uses : pnpm/action-setup@v4
30+
31+ - uses : actions/setup-node@v4
32+ with :
33+ node-version : 22
34+ cache : pnpm
35+ cache-dependency-path : docs/pnpm-lock.yaml
36+
37+ - run : pnpm install --frozen-lockfile
38+
39+ - run : pnpm docs:build
40+ env :
41+ VITEPRESS_BASE : /multistore/
42+
43+ - uses : actions/upload-pages-artifact@v3
44+ with :
45+ path : docs/.vitepress/dist
46+
47+ deploy :
48+ needs : build
49+ runs-on : ubuntu-latest
50+ environment :
51+ name : github-pages
52+ url : ${{ steps.deployment.outputs.page_url }}
53+ steps :
54+ - id : deployment
55+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 11{
22 "name" : " multistore-docs" ,
33 "private" : true ,
4+ "packageManager" : " pnpm@10.15.0" ,
45 "type" : " module" ,
56 "scripts" : {
67 "docs:dev" : " vitepress dev" ,
You can’t perform that action at this time.
0 commit comments