From d3f5261c4fcb72a7f12e1a1b54a401e9a534a748 Mon Sep 17 00:00:00 2001 From: Jacky Zhao Date: Sun, 31 Jul 2022 12:31:57 -0700 Subject: [PATCH] fix: public -> static to handle missing directory on GHA --- write.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/write.go b/write.go index 7db714e..d7b4eb2 100644 --- a/write.go +++ b/write.go @@ -50,7 +50,7 @@ func write(links []Link, contentIndex ContentIndex, toIndex bool, out string, ro } func writeLinkMap(contentIndex *ContentIndex, root string) error { - fp := path.Join(root, "public", "linkmap") + fp := path.Join(root, "static", "linkmap") file, err := os.OpenFile(fp, os.O_TRUNC|os.O_CREATE|os.O_WRONLY, 0644) if err != nil { return err