chore: try to build scss on gigalixir
This commit is contained in:
parent
bb079a2f2a
commit
67c2a618ff
5 changed files with 9 additions and 3 deletions
4
.buildpacks
Normal file
4
.buildpacks
Normal 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
1
.gitignore
vendored
|
@ -34,4 +34,3 @@ npm-debug.log
|
||||||
/priv/static/
|
/priv/static/
|
||||||
rel/
|
rel/
|
||||||
metadata.json
|
metadata.json
|
||||||
.buildpacks
|
|
||||||
|
|
3
compile
Normal file
3
compile
Normal 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
|
|
@ -8,4 +8,5 @@ application_scheme = System.fetch_env!("APP_SCHEME")
|
||||||
config :openpod, OpenpodWeb.Endpoint,
|
config :openpod, OpenpodWeb.Endpoint,
|
||||||
url: [scheme: application_scheme, host: application_host, port: String.to_integer(application_port)],
|
url: [scheme: application_scheme, host: application_host, port: String.to_integer(application_port)],
|
||||||
http: [:inet6, 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"
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
elixir_version=1.10.2
|
elixir_version=1.10.2
|
||||||
erlang_version=22.2
|
erlang_version=22.2
|
||||||
release=true
|
|
||||||
|
|
Loading…
Reference in a new issue