Deploy Scala Web applications to Heroku
Scala
Latest commit 97ae2f8 Feb 22, 2017 @earldouglas committed on GitHub Merge pull request #9 from earldouglas/travis-deploy
Enable deployment to Heroku from Travis CI

README.md

About

sbt-heroku-deploy is an sbt plugin, based on Heroku Maven plugin, for deploying Scala Web applications to Heroku.

sbt-heroku-deploy expects that your project's default package is a .war file, which you can get using xsbt-web-plugin.

Quick start

Add the sbt-heroku-deploy plugin to your project:

project/plugins.sbt:

addSbtPlugin("com.earldouglas" % "sbt-heroku-deploy" % "0.2.0")

Enable the plugin and configure your app name:

build.sbt:

enablePlugins(HerokuDeploy)

herokuAppName := "my-heroku-app"

Deploy your project to Heroku:

$ sbt herokuDeploy

Check out your application at https://my-heroku-app.herokuapp.com/.

Heroku authentication

Either install the Heroku Toolbelt, or set your Heroku API key as an environment variable:

$ export HEROKU_API_KEY="xxx-xxx-xxxx"