Campaign content and listmonk credentials now live in separate per-domain repos that install this tool at a pinned version, so a client with access to one domain's content repo has no path to another domain's secrets. Renames the module to the actual Gitea host path so `go install` works without vanity-import redirects, drops the four workflows that assumed campaigns/ content lived here, adds real go-test CI, and rewrites the README for the tool's new audience. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -3,7 +3,7 @@ package campaign
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"reground.org/eec-campaigns/internal/listmonk"
|
||||
"gitea.reground.org/will/eec-campaigns/internal/listmonk"
|
||||
)
|
||||
|
||||
// Send transitions a campaign from draft/paused to running — the one real
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
"path/filepath"
|
||||
"sort"
|
||||
|
||||
"reground.org/eec-campaigns/internal/listmonk"
|
||||
"gitea.reground.org/will/eec-campaigns/internal/listmonk"
|
||||
)
|
||||
|
||||
// SyncResult summarizes what a sync run did, split so the CI log (and the
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
"sync"
|
||||
"testing"
|
||||
|
||||
"reground.org/eec-campaigns/internal/listmonk"
|
||||
"gitea.reground.org/will/eec-campaigns/internal/listmonk"
|
||||
)
|
||||
|
||||
// ---- fake listmonk server ----
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"reground.org/eec-campaigns/internal/listmonk"
|
||||
"gitea.reground.org/will/eec-campaigns/internal/listmonk"
|
||||
)
|
||||
|
||||
// SyncTemplate pushes a template file's content into listmonk under name,
|
||||
|
||||
Reference in New Issue
Block a user