File tree Expand file tree Collapse file tree 3 files changed +51
-4
lines changed
Expand file tree Collapse file tree 3 files changed +51
-4
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy to GitHub Pages
2+
3+ on :
4+ push :
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 : true
16+
17+ jobs :
18+ build :
19+ runs-on : ubuntu-latest
20+ steps :
21+ - uses : actions/checkout@v4
22+
23+ - uses : pnpm/action-setup@v3
24+ with :
25+ version : 9
26+
27+ - uses : actions/setup-node@v4
28+ with :
29+ node-version : 20
30+ cache : ' pnpm'
31+
32+ - run : pnpm install --frozen-lockfile
33+ - run : pnpm run export # 生成静态站,输出到 ./out
34+
35+ - uses : actions/upload-pages-artifact@v3
36+ with :
37+ path : ./out
38+
39+ deploy :
40+ needs : build
41+ runs-on : ubuntu-latest
42+ environment :
43+ name : github-pages
44+ url : ${{ steps.deployment.outputs.page_url }}
45+ steps :
46+ - id : deployment
47+ uses : actions/deploy-pages@v4
File renamed without changes.
Original file line number Diff line number Diff line change @@ -22,11 +22,11 @@ This project uses [`next/font`](https://nextjs.org/docs/app/building-your-applic
2222
2323## Contributing
2424
25- - ** 请先阅读 ` CONTRIBUTE .md` ** :包含本项目的本地开发环境、分支策略、代码规范、提交信息格式、PR 流程与评审标准等。
26- - ** 文档位置 ** :` packages/involutionhell.github.io/CONTRIBUTE. md` (或直接点击仓库根目录下的同名文件)。
25+ - ** 请先阅读 ` CONTRIBUTING .md` (仓库根) ** :包含本项目的本地开发环境、分支策略、代码规范、提交信息格式、PR 流程与评审标准等。
26+ - ** 完整贡献文档 ** :` CONTRIBUTING. md`
2727- ** 快速开始贡献** :
2828 - Fork 并创建特性分支(示例:` feat/your-feature ` )。
29- - 遵循 ` CONTRIBUTE.md ` 的规范完成开发与自测 。
29+ - 遵循贡献文档完成开发与自测 。
3030 - 提交 PR,并在描述中关联 Issue、填写变更说明与测试要点。
3131
32- 更多细节、注意事项与最佳实践,请务必查阅 [ ` CONTRIBUTE .md` ] ( ./CONTRIBUTE .md) 。
32+ 更多细节、注意事项与最佳实践,请务必查阅仓库根的 [ ` CONTRIBUTING .md` ] ( CONTRIBUTING .md) 。
You can’t perform that action at this time.
0 commit comments