You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: USAGE.md
+1-8
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,6 @@
2
2
3
3
## Distillery
4
4
5
-
### Phoenix Assets
6
-
7
-
When Phoenix is detected as a dependency, Bootleg will take some extra actions before building a release:
8
-
9
-
* Brunch will be used to build app assets in production mode
10
-
*`mix phoenix.digest` will be called to compress and tag assets for caching
11
-
12
5
### Runtime Configuration
13
6
14
7
From the [Distillery docs](https://hexdocs.pm/distillery/runtime-configuration.html#content):
@@ -19,7 +12,7 @@ This means if you are using a 12FA-style environment variable configuration for
19
12
20
13
One solution is to set `REPLACE_OS_VARS=true` in your build environment and define shell-style variables in configuration strings that Distillery's runtime will automagically replace when first running the build on the target deployment.
21
14
22
-
config :sauce, api_url: "${SAUCE_API_URL}"
15
+
config :sauce, api_url: "${SAUCE_API_URL}"
23
16
24
17
Another solution is to use [Confex]() or a [configuration wrapper](https://gist.github.com/bitwalker/a4f73b33aea43951fe19b242d06da7b9) that knows how to understand and read configuration values such as `{:system, "VAR"}` from the environment at runtime. However, you may still be at the mercy of your application's dependencies.
0 commit comments