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