fix pipeline

This commit is contained in:
crapStone 2023-11-17 22:53:24 +01:00
parent 81e980ce13
commit 4d760d9a9d
No known key found for this signature in database
GPG key ID: D74B82E7CDD863FE
3 changed files with 145 additions and 133 deletions

View file

@ -10,9 +10,10 @@ import (
"testing"
"time"
cmd "codeberg.org/codeberg/pages/cli"
"github.com/urfave/cli/v2"
cmd "codeberg.org/codeberg/pages/cli"
"codeberg.org/codeberg/pages/server"
)
func TestMain(m *testing.M) {
@ -47,7 +48,7 @@ func startServer(ctx context.Context) error {
app := cli.NewApp()
app.Name = "pages-server"
app.Action = cmd.Serve
app.Action = server.Serve
app.Flags = cmd.ServerFlags
go func() {