File tree Expand file tree Collapse file tree 2 files changed +19
-7580
lines changed Expand file tree Collapse file tree 2 files changed +19
-7580
lines changed Original file line number Diff line number Diff line change 43
43
with :
44
44
node-version : 21
45
45
cache : pnpm # 或 pnpm / yarn
46
+
47
+ - name : Clone EasyTier
48
+ uses :
GuillaumeFalourd/[email protected]
49
+ with :
50
+ depth : 1
51
+ branch : ' main'
52
+ owner : ' EasyTier'
53
+ repository : ' EasyTier'
54
+ - name : Build EasyTier Web
55
+ run : |
56
+ cd EasyTier
57
+ pnpm -r install
58
+ pnpm -r build
59
+ cd ..
60
+ mkdir -p public/web
61
+ cp EasyTier/easytier-web/frontend/dist/index.html public/web/index.html
62
+ rm -rf EasyTier
63
+
46
64
- name : Setup Pages
47
65
uses : actions/configure-pages@v4
48
66
- name : Install dependencies
54
72
with :
55
73
path : .vitepress/dist
56
74
- name : Upload OSS
75
+ if : ${{ github.ref == 'refs/heads/main' }}
57
76
uses : Menci/upload-to-oss@main
58
77
with :
59
78
access-key-id : ${{ secrets.ALIYUN_OSS_ACCESS_ID }}
You can’t perform that action at this time.
0 commit comments