Skip to content

Commit 890cb02

Browse files
committed
Try with nested directory structure
1 parent c5f959f commit 890cb02

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/build-docs.yaml

+1-4
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
- name: Check out website
1818
uses: actions/checkout@v4
1919
with:
20-
path: website-draft
2120
fetch-depth: 0
2221
- name: Check out submissions
2322
uses: actions/checkout@master
@@ -29,8 +28,6 @@ jobs:
2928
run: |
3029
sudo apt-get install tree
3130
tree -d .
32-
- name: Change into right directory
33-
run: cd website-draft
3431
- name: Configure Git Credentials
3532
run: |
3633
git config user.name github-actions[bot]
@@ -57,7 +54,7 @@ jobs:
5754
run: |
5855
tree -d ../../
5956
- name: Building leaderboard
60-
run: python leaderboard/create_leaderboard.py --input ../submissions --output docs/leaderboard_table.md
57+
run: python leaderboard/create_leaderboard.py --input submissions --output docs/leaderboard_table.md
6158
- name: Build Documentation
6259
if: github.ref != 'refs/heads/main'
6360
run: mkdocs build

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,12 @@
33
## Building it
44

55
```bash
6+
pip install -r requirements.txt
67

8+
# Check out submissions and turn them into table
9+
git clone https://github.com/scicode-bench/submissions.git ../submissions
10+
./leaderboard/create_leaderboard.py --input ../submissions --output docs/leaderboard_table.md
11+
12+
# Preview the website
13+
mkdocs serve
714
```

0 commit comments

Comments
 (0)