From 334dc116c2fa7a3cbfba33aa1da19adbc94c5731 Mon Sep 17 00:00:00 2001 From: Nathan Paul Date: Wed, 20 Mar 2024 21:44:32 +0530 Subject: [PATCH] chore/build: add netlify buildscript --- build.sh | 2 ++ netlify.toml | 4 ++++ 2 files changed, 6 insertions(+) create mode 100755 build.sh create mode 100644 netlify.toml diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..8d8f991 --- /dev/null +++ b/build.sh @@ -0,0 +1,2 @@ +go install github.com/acmpesuecc/anna@latest +$GOPATH/bin/anna diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..71c274e --- /dev/null +++ b/netlify.toml @@ -0,0 +1,4 @@ +[build] + command = "sh build.sh" + publish = "site/rendered" + environment = { GO_VERSION = "1.22.1" }