Skip to content

Commit 7e65f08

Browse files
committed
[feat] update cicd for score post
1 parent af49f5f commit 7e65f08

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/rust.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,12 @@ jobs:
5959
- name: Post summary JSON to remote API
6060
env:
6161
post_api: ${{ secrets.RUSTLINGS_2025_SPRING_POST_API }}
62+
token: ${{ secrets.RUSTLINGS_2025_SPRING_TOKEN }}
6263
run: |
6364
summary_file=".github/result/summary.json"
64-
curl -X POST https://"$post_api" \
65+
curl -X POST $post_api \
6566
-H "accept: application/json;charset=utf-8" \
6667
-H "Content-Type: application/json" \
68+
-H "token: $token" \
6769
-d "$(cat $summary_file)" \
6870
-v

0 commit comments

Comments
 (0)