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

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