From 6e28cb662d8a61c978ea3592f3101867be1e26ae Mon Sep 17 00:00:00 2001 From: Xiaozhe <407718364@qq.com> Date: Sun, 24 Mar 2019 16:05:22 +0800 Subject: [PATCH] move procfile --- Makefile | 3 +++ Procfile | 2 ++ discovery/Procfile | 2 -- 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 Procfile delete mode 100644 discovery/Procfile diff --git a/Makefile b/Makefile index d471e1d09..923709bed 100644 --- a/Makefile +++ b/Makefile @@ -41,4 +41,7 @@ publish-test: publish-prod: twine upload dist/* +build-discovery: + cd discovery && yarn run build + .PHONY: docs \ No newline at end of file diff --git a/Procfile b/Procfile new file mode 100644 index 000000000..ee1507e22 --- /dev/null +++ b/Procfile @@ -0,0 +1,2 @@ +release: make build-discovery +web: node discovery/dist/src/server.js \ No newline at end of file diff --git a/discovery/Procfile b/discovery/Procfile deleted file mode 100644 index 35bd8d3a9..000000000 --- a/discovery/Procfile +++ /dev/null @@ -1,2 +0,0 @@ -release: yarn run build -web: node dist/src/server.js \ No newline at end of file