diff options
| author | Shulhan <m.shulhan@gmail.com> | 2026-02-04 04:37:29 +0700 |
|---|---|---|
| committer | Shulhan <m.shulhan@gmail.com> | 2026-02-04 04:38:08 +0700 |
| commit | c0ec2824f92e08a7b55c2d8e398df9c73ea5fb0b (patch) | |
| tree | a4874a3cf30b971f153fafcf0dc9a748c6b3ccf6 | |
| parent | de6bdcea1aa288b5fb3f67d2bc50520455304b75 (diff) | |
| download | golang-id-web-c0ec2824f92e08a7b55c2d8e398df9c73ea5fb0b.tar.xz | |
make: tambah task untuk deploy dengan webhook
Setiap kali push akan mentrigger webhook di
https://build.kilabit.info/karajo/app/#job_webhook_golang-id-web .
| -rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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. |
