diff options
| author | BigCoke233 <hi@guhub.cn> | 2026-01-06 10:40:22 +0800 |
|---|---|---|
| committer | BigCoke233 <hi@guhub.cn> | 2026-01-06 10:40:22 +0800 |
| commit | a36dd1ecb756dc52f34258b71d133598a0d221f8 (patch) | |
| tree | 2994adf1f080cfe6c900d35c3281adc47624e81f /scripts/get_internal_link_graph.go | |
| parent | 2bc48fcd906b3699eb1324420de8655534588257 (diff) | |
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
Diffstat (limited to 'scripts/get_internal_link_graph.go')
| -rw-r--r-- | scripts/get_internal_link_graph.go | 4 |
1 files changed, 2 insertions, 2 deletions
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) |
