File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Deploy home to github.io
22
33on :
44 push :
5- branches : [main]
5+ branches : [dev, main]
66 paths :
77 - ' packages/common/**'
88 - ' packages/home/**'
2525 with :
2626 version : 9
2727 - name : Install deps
28- run : pnpm i
28+ run : |
29+ pnpm -F opentiny-design-common i
30+ pnpm -F opentiny-design-home i
2931 - name : Build common
3032 run : pnpm build:common
3133 - name : Build home
Original file line number Diff line number Diff line change @@ -2,7 +2,8 @@ name: Deploy docs to Huawei OBS
22
33on :
44 push :
5- branches : [main]
5+ tags :
6+ - ' v*'
67 paths :
78 - ' packages/opentiny-docs/**'
89
3940 with :
4041 version : 9
4142 - name : Install deps
42- run : pnpm i
43+ run : pnpm -F opentiny-docs install
4344 - name : Get docs version
4445 id : ver
4546 run : |
Original file line number Diff line number Diff line change 4040 with :
4141 version : 9
4242 - name : Install deps
43- run : pnpm install --ignore-scripts
43+ run : pnpm -F tiny-engine-portal install --ignore-scripts
4444 - name : Ensure submodules are up-to-date (pull latest from their remote)
4545 # 这一步会把子模块更新到各自远端的最新分支(通常是子模块配置的上游)
4646 run : |
Original file line number Diff line number Diff line change 4141 with :
4242 version : 9
4343 - name : Install deps
44- run : pnpm i
44+ run : |
45+ pnpm -F opentiny-design-common i
46+ pnpm -F opentiny-design-home i
4547 - name : Build common
4648 run : pnpm build:common
4749 - name : Get home version
You can’t perform that action at this time.
0 commit comments