staging #10

Merged
groot merged 6 commits from staging into main 2025-05-11 16:15:27 +00:00
Showing only changes of commit 7ef6b551ac - Show all commits

View File

@@ -267,12 +267,7 @@ func cloneRepo(repoURL, branch, dir string) {
contentDir := getenv("BLOG_CONTENT_DIR", "/content")
articles, err := article.LoadDir(contentDir)
if err != nil {
fmt.Println(err)
}
err = os.RemoveAll("/content")
err := os.RemoveAll("/content")
if err != nil {
fmt.Println(err, "/content")
}
@@ -336,6 +331,11 @@ func cloneRepo(repoURL, branch, dir string) {
fmt.Println("Kopieren abgeschlossen.")
}
articles, err := article.LoadDir(contentDir)
if err != nil {
fmt.Println(err)
}
Xarticles = articles
}