diff --git a/app.json b/app.json index 968ed363a..b9b33a927 100644 --- a/app.json +++ b/app.json @@ -1,7 +1,7 @@ { "name": "Papercups", "description": "An open source customer chat messaging service", - "repository": "https://github.com/papercups-io/papercups", + "repository": "https://github.com/kwamena98/papercups", "keywords": ["elixir", "phoenix", "chat"], "env": { "SECRET_KEY_BASE": { @@ -51,7 +51,7 @@ "scripts": { "postdeploy": "POOL_SIZE=2 mix ecto.migrate" }, - "stack": "heroku-18", + "stack": "heroku-22", "buildpacks": [ { "url": "https://buildpack-registry.s3.amazonaws.com/buildpacks/hashnuke/elixir.tgz" diff --git a/elixir_buildpack.config b/elixir_buildpack.config index e019683a8..3f56eecde 100644 --- a/elixir_buildpack.config +++ b/elixir_buildpack.config @@ -1,7 +1,31 @@ -# Elixir version -elixir_version=1.11.3 +stack=heroku-22 # Erlang version -# available versions https://github.com/HashNuke/heroku-buildpack-elixir-otp-builds/blob/master/otp-versions -erlang_version=23.0.2 +erlang_version=24.0 + + +# Elixir version +elixir_version=1.2.0 + +# Always rebuild from scratch on every deploy? +always_rebuild=false + +# Create a release using `mix release`? (requires Elixir 1.9) +release=true + +# A command to run right before fetching dependencies +hook_pre_fetch_dependencies="pwd" + +# A command to run right before compiling the app (after elixir, .etc) +hook_pre_compile="pwd" + +hook_compile="mix compile --force --warnings-as-errors" + +# A command to run right after compiling the app +hook_post_compile="pwd" + +# Set the path the app is run from +runtime_path=/app +# Enable or disable additional test arguments +test_args="--cover"