Skip to content

Commit

Permalink
build update
Browse files Browse the repository at this point in the history
  • Loading branch information
johnjones4 committed Nov 8, 2023
1 parent 1daed4a commit 7898be7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ all: deploy-site deploy-fns

build-fns:
rm -rf fns/bin || true
cd fns && GOARCH=amd64 GOOS=linux go build -ldflags="-s -w" -o ./bin/fns
cd fns && GOARCH=amd64 CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o ./bin/fns

deploy-fns: build-fns
cd fns && ./node_modules/serverless/bin/serverless.js deploy --verbose --force
Expand Down

0 comments on commit 7898be7

Please sign in to comment.