diff --git a/.circleci/config.yml b/.circleci/config.yml index 9d68b47..0ec9f62 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -70,4 +70,4 @@ jobs: - run: name: Deploy to Heroku staging - command: cat /dev/null | activator deployHeroku + command: cat /dev/null | activator -DherokuApp=$HEROKU_APP deployHeroku diff --git a/build.sbt b/build.sbt index fac6320..37fac36 100644 --- a/build.sbt +++ b/build.sbt @@ -46,4 +46,4 @@ herokuProcessTypes in Compile := Map( "web" -> "target/universal/stage/bin/wishlist -Dconfig.resource=production.conf -Dhttp.port=$PORT" ) -herokuAppName in Compile := sys.props.getOrElse("HEROKU_APP_ENV","") +herokuAppName in Compile := sys.props.getOrElse("herokuApp","")