summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2865d39..2f7e4e9 100644
--- a/Makefile
+++ b/Makefile
@@ -38,6 +38,13 @@ deploy-build: embed
deploy-remote: deploy-build
rsync --progress ./$(PROGRAM_NAME) golang-id.org:/data/app/bin/
+.PHONY: on-webhook
+on-webhook: CGO_ENABLED=0
+on-webhook: GOOS=linux
+on-webhook: GOARCH=amd64
+on-webhook: build
+ sudo rsync --progress ./$(PROGRAM_NAME) /data/app/bin/$(PROGRAM_NAME)
+
##---- Local installation.