diff --git a/Makefile b/Makefile index 025911f..890d7a9 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,13 @@ +DOKKU_URL := dokku@dev.lookingfora.name:guesstimate + dokku-build: docker build \ -t guesstimate-dokku:latest \ . dokku-run: - docker run -it --rm -p 8080:80 guesstimate-dokku:latest \ No newline at end of file + docker run -it --rm -p 8080:80 guesstimate-dokku:latest + +dokku-deploy: + $(if $(shell git config remote.dokku.url),, git remote add dokku $(DOKKU_URL)) + git push -f dokku $(shell git rev-parse HEAD):master \ No newline at end of file diff --git a/misc/dokku/CHECKS b/misc/dokku/CHECKS index cc9fac9..c1e8318 100644 --- a/misc/dokku/CHECKS +++ b/misc/dokku/CHECKS @@ -1 +1 @@ -/ "guesstimate" +/ guesstimate