Add tz_world.update to release scripts
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
88e9ae8214
commit
d2ccc21f91
@ -213,7 +213,7 @@ package-app:
|
||||
script: &release-script
|
||||
- mix local.hex --force
|
||||
- mix local.rebar --force
|
||||
- mix deps.get
|
||||
- mix deps.get && mix tz_world.update
|
||||
- mix phx.digest
|
||||
- mix release --path release/mobilizon
|
||||
- cd release/mobilizon && ln -s lib/mobilizon-*/priv priv
|
||||
|
@ -16,7 +16,8 @@ COPY mix.exs mix.lock ./
|
||||
ENV MIX_ENV=prod
|
||||
RUN mix local.hex --force \
|
||||
&& mix local.rebar --force \
|
||||
&& mix deps.get
|
||||
&& mix deps.get \
|
||||
&& mix tz_world.update
|
||||
|
||||
COPY lib ./lib
|
||||
COPY priv ./priv
|
||||
|
Loading…
Reference in New Issue
Block a user