From 3a21633d31b2a2d1350ef6af545f3cd089e3a460 Mon Sep 17 00:00:00 2001 From: Skyler Grey Date: Fri, 27 Oct 2023 00:07:20 +0000 Subject: [PATCH] WIP: Fix functions Currently functions are causing a failure that stops the site from deploying. This commit is me experimenting to find a fix. --- .vuepress/functions/gosrc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vuepress/functions/gosrc/Makefile b/.vuepress/functions/gosrc/Makefile index 99ef137..3459ff2 100644 --- a/.vuepress/functions/gosrc/Makefile +++ b/.vuepress/functions/gosrc/Makefile @@ -1,6 +1,6 @@ build: go env - go build -o ./function ./main.go + GOOS=linux GOARCH=amd64 go build -o ./function ./main.go mkdir -p ../dist cp ./function ../dist/post cp ./function ../dist/verify