diff --git a/main.go b/main.go index 8dc5ae0..3b82fc3 100644 --- a/main.go +++ b/main.go @@ -116,7 +116,7 @@ func main() { githubactions.Fatalf("Unable to create root dir path: %v", fmt.Errorf("%w", err)) } - w, err := mwriter.CreateIpfsFilePart("blog/index.html") + w, err := mwriter.CreateIpfsFilePart("index.html") if err != nil { githubactions.Fatalf("Unable to create index file part: %v", fmt.Errorf("%w", err)) } @@ -125,7 +125,7 @@ func main() { defer fileReader.Close() io.Copy(w, fileReader) - w, err = mwriter.CreateIpfsFilePart("blog/posts/hosting-static-site-on-ipfs/index.html") + w, err = mwriter.CreateIpfsFilePart("posts/hosting-static-site-on-ipfs/index.html") if err != nil { githubactions.Fatalf("Unable to create index file part: %v", fmt.Errorf("%w", err)) }