remove blog frm path
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 49s
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 49s
This commit is contained in:
parent
22517acc4c
commit
2f531d4efe
4
main.go
4
main.go
@ -116,7 +116,7 @@ func main() {
|
|||||||
githubactions.Fatalf("Unable to create root dir path: %v", fmt.Errorf("%w", err))
|
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 {
|
if err != nil {
|
||||||
githubactions.Fatalf("Unable to create index file part: %v", fmt.Errorf("%w", err))
|
githubactions.Fatalf("Unable to create index file part: %v", fmt.Errorf("%w", err))
|
||||||
}
|
}
|
||||||
@ -125,7 +125,7 @@ func main() {
|
|||||||
defer fileReader.Close()
|
defer fileReader.Close()
|
||||||
io.Copy(w, fileReader)
|
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 {
|
if err != nil {
|
||||||
githubactions.Fatalf("Unable to create index file part: %v", fmt.Errorf("%w", err))
|
githubactions.Fatalf("Unable to create index file part: %v", fmt.Errorf("%w", err))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user