🐛 Bug fixes
All checks were successful
release-nightly / build-docker (push) Successful in 1m19s

This commit is contained in:
2023-12-16 22:57:32 +08:00
parent 4942a8b7a2
commit 0ffd582d80
4 changed files with 10 additions and 6 deletions

View File

@ -2,6 +2,7 @@ package deploy
import (
"fmt"
jsoniter "github.com/json-iterator/go"
"io"
"os"
"strings"
@ -81,6 +82,8 @@ var DeployCommands = []*cli.Command{
url := fmt.Sprintf("/webhooks/sync/%s", ctx.Args().Get(1))
client := fiber.Put(server.Url+url).
JSONEncoder(jsoniter.ConfigCompatibleWithStandardLibrary.Marshal).
JSONDecoder(jsoniter.ConfigCompatibleWithStandardLibrary.Unmarshal).
JSON(site).
BasicAuth("RoadSign CLI", server.Credential)