chore: try to build scss on gigalixir

This commit is contained in:
danilo silva 2020-07-31 13:40:50 +00:00
parent bb079a2f2a
commit 67c2a618ff
5 changed files with 9 additions and 3 deletions

4
.buildpacks Normal file
View file

@ -0,0 +1,4 @@
https://github.com/gigalixir/gigalixir-buildpack-clean-cache.git
https://github.com/HashNuke/heroku-buildpack-elixir
https://github.com/gjaldon/heroku-buildpack-phoenix-static
https://github.com/gigalixir/gigalixir-buildpack-releases.git

1
.gitignore vendored
View file

@ -34,4 +34,3 @@ npm-debug.log
/priv/static/
rel/
metadata.json
.buildpacks

3
compile Normal file
View file

@ -0,0 +1,3 @@
cd $phoenix_dir
npm --prefix ./assets run build
mix "${phoenix_ex}.digest" #use the ${phoenix_ex} variable instead of hardcoding phx or phoenix

View file

@ -8,4 +8,5 @@ application_scheme = System.fetch_env!("APP_SCHEME")
config :openpod, OpenpodWeb.Endpoint,
url: [scheme: application_scheme, host: application_host, port: String.to_integer(application_port)],
http: [:inet6, port: String.to_integer(application_port)],
secret_key_base: secret_key_base
secret_key_base: secret_key_base,
cache_static_manifest: "priv/static/cache_manifest.json"

View file

@ -1,3 +1,2 @@
elixir_version=1.10.2
erlang_version=22.2
release=true