File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22name : 部署 Fuzz 覆盖率报告到 Pages
33
44on :
5- # 当 main 分支有新提交时自动部署
5+ # 当 main 或 next 分支有新提交时自动部署
66 push :
7- branches : ["main"]
7+ branches : ["main", "next" ]
88
99 # 允许在 Actions 页面手动触发
1010 workflow_dispatch :
@@ -28,10 +28,10 @@ jobs:
2828 url : ${{ steps.deployment.outputs.page_url }}
2929 runs-on : ubuntu-latest
3030 steps :
31- - name : 检出 main 分支代码
31+ - name : 检出触发分支代码
3232 uses : actions/checkout@v4
3333 with :
34- ref : main
34+ ref : ${{ github.ref_name }}
3535
3636 - name : 配置 GitHub Pages
3737 uses : actions/configure-pages@v5
Original file line number Diff line number Diff line change 1+ Subproject commit ee51d214bbb40edda2377a074940308c9615a847
Original file line number Diff line number Diff line change 1+ Subproject commit 0adc196d4bd52a2d91102b525b0aafc1e14a2386
Original file line number Diff line number Diff line change 1+ Subproject commit d1fe18bd54434efd1ac0dad035d3ab0f8591e086
You can’t perform that action at this time.
0 commit comments