remove blog frm path
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 49s

This commit is contained in:
Alexandre Bruyant 2024-01-07 18:55:33 +01:00
parent 22517acc4c
commit 2f531d4efe

View File

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