From a36dd1ecb756dc52f34258b71d133598a0d221f8 Mon Sep 17 00:00:00 2001 From: BigCoke233 Date: Tue, 6 Jan 2026 10:40:22 +0800 Subject: fix(CI): data extraction not working properly - link graph should be written to static directory, not public - jobs should run in sequence to avoid branch diversion Former-commit-id: 707dbd5347895738ce02b4f22d6a6314a67778ad --- scripts/get_internal_link_graph.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/get_internal_link_graph.go') diff --git a/scripts/get_internal_link_graph.go b/scripts/get_internal_link_graph.go index 2f7c8b12..8adf5594 100644 --- a/scripts/get_internal_link_graph.go +++ b/scripts/get_internal_link_graph.go @@ -77,13 +77,13 @@ func main() { nodeList = append(nodeList, nodes[k]) } - os.MkdirAll("public", os.ModePerm) + os.MkdirAll("static", os.ModePerm) output := map[string]interface{}{ "nodes": nodeList, "edges": edges, } - outfile := "public/link-graph.json" + outfile := "static/link-graph.json" f, err := os.Create(outfile) if err != nil { fmt.Println("create file error:", err) -- cgit v1.2.3