Skip to content

Commit

Permalink
Fix deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
cassis163 committed Oct 16, 2023
1 parent 490ee22 commit 4a0c1d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
cd ./src
go install github.com/a-h/templ/cmd/templ@latest
$GOPATH/bin/templ generate .
GOBIN=$(pwd)/../functions go install .
3 changes: 1 addition & 2 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[build]
command = "go install github.com/a-h/templ/cmd/templ@latest && templ generate ./src && sh ./build.sh"
command = "sh ./build.sh"
functions = "functions"
publish = "public"

[build.environment]
GO_IMPORT_PATH = "github.com/cassis163/personal-site"
Expand Down

0 comments on commit 4a0c1d7

Please sign in to comment.