From 63d437ff65e1be3a19a08ba10208a8b968e1b6ce Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Mon, 25 Nov 2024 15:24:40 -0500 Subject: lume/notes: add go pointer conversion note Signed-off-by: Xe Iaso --- cmd/fabricate-generation/main.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'cmd') diff --git a/cmd/fabricate-generation/main.go b/cmd/fabricate-generation/main.go index c77591d..fe78ce4 100644 --- a/cmd/fabricate-generation/main.go +++ b/cmd/fabricate-generation/main.go @@ -29,7 +29,7 @@ import ( var ( bucketName = flag.String("bucket-name", "xesite", "Name of the S3 bucket to upload to") githubSHA = flag.String("github-sha", "", "GitHub SHA to use for the site") - miURL = flag.String("mimi-announce-url", "", "Mi url (named mimi-announce-url for historical reasons)") + miURL = flag.String("mimi-announce-url", "", "Mi url") patreonSaasProxyURL = flag.String("patreon-saasproxy-url", "http://xesite-patreon-saasproxy.flycast", "URL to use for the patreon saasproxy") siteURL = flag.String("site-url", "https://xeiaso.net/", "URL to use for the site") ) @@ -52,6 +52,7 @@ func main() { if err != nil { log.Fatal(err) } + _ = s3c fs, err := lume.New(context.Background(), &lume.Options{ Branch: "main", @@ -69,9 +70,9 @@ func main() { defer fs.Close() - if err := uploadFolderToS3(context.Background(), s3c, "./var/repo/lume/_site", *bucketName); err != nil { - log.Fatal(err) - } + // if err := uploadFolderToS3(context.Background(), s3c, "./var/repo/lume/_site", *bucketName); err != nil { + // log.Fatal(err) + // } } func NewPatreonClient(hc *http.Client) (*patreon.Client, error) { -- cgit v1.2.3