summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorShulhan <m.shulhan@gmail.com>2021-04-10 22:43:11 +0700
committerShulhan <m.shulhan@gmail.com>2021-04-10 23:43:35 +0700
commit761c9bbb5556e2484223b8cd8ea38f82baa5bfff (patch)
tree0dc96be60be5f53947b5b8fc38d8fe7cdbc2cb11 /Makefile
parentc0da203ce48742395d071caebd815374b8aeaae0 (diff)
downloadgolang-id-web-761c9bbb5556e2484223b8cd8ea38f82baa5bfff.tar.xz
Makefile: migrasi server ke tempat yang baru
Untuk menandai migrasi, kita mengganti nama host dari personal-www menjadi www-golangid. Selain itu, tandai task build-deploy sebagai PHONY task.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 519477f..56af142 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-.PHONY: clean all generate build deploy
+.PHONY: clean all generate build build-deploy deploy
MACOS_SERVICE=local.golangid
PROGRAM_NAME=www-golangid
@@ -23,7 +23,7 @@ serve: generate
DEBUG=1 go run ./cmd/$(PROGRAM_NAME) -port=5080
deploy: build-deploy
- rsync --progress ./$(PROGRAM_NAME) personal-www:~/bin/
+ rsync --progress ./$(PROGRAM_NAME) www-golangid:/data/app/bin/
build-deploy: generate
unset CGO_ENABLED; \