File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Deploy leaderboard
2+
3+ " on " :
4+ push :
5+ branches :
6+ - main
7+ paths :
8+ - " leaderboard/**"
9+ - " .github/workflows/leaderboard-pages.yml"
10+ workflow_dispatch :
11+
12+ permissions :
13+ contents : read
14+ pages : write
15+ id-token : write
16+
17+ concurrency :
18+ group : pages
19+ cancel-in-progress : false
20+
21+ jobs :
22+ deploy :
23+ environment :
24+ name : github-pages
25+ url : ${{ steps.deployment.outputs.page_url }}
26+ runs-on : ubuntu-latest
27+ steps :
28+ - name : Checkout
29+ uses : actions/checkout@v4
30+
31+ - name : Configure Pages
32+ uses : actions/configure-pages@v5
33+
34+ - name : Upload artifact
35+ uses : actions/upload-pages-artifact@v3
36+ with :
37+ path : leaderboard
38+
39+ - name : Deploy to GitHub Pages
40+ id : deployment
41+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 1+
Original file line number Diff line number Diff line change 1+ # TwinRouterBench Leaderboard
2+
3+ Static leaderboard site for GitHub Pages.
4+
5+ ## Local preview
6+
7+ ``` bash
8+ cd leaderboard
9+ python3 -m http.server 8000
10+ ```
11+
12+ Open ` http://127.0.0.1:8000/ ` .
13+
14+ ## GitHub Pages
15+
16+ Use one of these deployment layouts:
17+
18+ 1 . Point GitHub Pages at the ` leaderboard/ ` directory if the repository UI allows it.
19+ 2 . Rename or copy this directory to ` docs/ ` and select ` main ` / ` docs ` in GitHub Pages.
20+ 3 . Use a GitHub Actions workflow to publish ` leaderboard/ ` to Pages.
21+
22+ The site is fully static. Updating ` data/leaderboard.json ` updates the rendered table.
You can’t perform that action at this time.
0 commit comments