From 866becc5210d8bac59dc6807f6cd5eb15ea4db1a Mon Sep 17 00:00:00 2001 From: Hunter Long Date: Wed, 19 Dec 2018 18:48:06 -0800 Subject: [PATCH] heroku --- Gopkg.toml | 3 ++- heroku.yml | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 heroku.yml diff --git a/Gopkg.toml b/Gopkg.toml index cdd1ac65..e6981d8c 100644 --- a/Gopkg.toml +++ b/Gopkg.toml @@ -84,4 +84,5 @@ [metadata.heroku] root-package = "github.com/hunterlong/statping" go-version = "1.11.2" - install = [ "./..." ] + install = [ "./cmd" ] + additional-tools = ["github.com/GeertJohan/go.rice", "github.com/GeertJohan/go.rice/rice"] diff --git a/heroku.yml b/heroku.yml new file mode 100644 index 00000000..3f4d1040 --- /dev/null +++ b/heroku.yml @@ -0,0 +1,7 @@ +build: + languages: + - go + pre: + - cd source && rice embed-go +run: + web: cmd --port $PORT \ No newline at end of file