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 4343 with :
4444 node-version : 21
4545 cache : pnpm # 或 pnpm / yarn
46+
47+ - name : Clone EasyTier
48+ uses : GuillaumeFalourd/clone-github-repo-action@v2.3
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+
4664 - name : Setup Pages
4765 uses : actions/configure-pages@v4
4866 - name : Install dependencies
5472 with :
5573 path : .vitepress/dist
5674 - name : Upload OSS
75+ if : ${{ github.ref == 'refs/heads/main' }}
5776 uses : Menci/upload-to-oss@main
5877 with :
5978 access-key-id : ${{ secrets.ALIYUN_OSS_ACCESS_ID }}
You can’t perform that action at this time.
0 commit comments