can't resist
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
327 B

#!/usr/bin/env bash
mix local.hex --if-missing --force
mix local.rebar --if-missing --force
mix deps.get --only prod
MIX_ENV=prod mix deps.compile
npm install --prefix ./apps/tomie_web/assets
NODE_ENV=production npm run deploy --prefix ./apps/tomie_web/assets
MIX_ENV=prod mix phx.digest
MIX_ENV=prod mix release --overwrite