fix: public -> static to handle missing directory on GHA

This commit is contained in:
Jacky Zhao 2022-07-31 12:31:57 -07:00
parent ef8b49f7f4
commit d3f5261c4f

View File

@ -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