Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 21 lines (16 sloc) 281 Bytes
#!/usr/bin/env bash
set -x
# Deploy Script
bash bin/update
cd assets/ && {
yarn build;
cd -;
mkdir -p priv/static/
MIX_ENV=prod mix phx.digest
MIX_ENV=prod mix compile
kill `lsof -i:4000 -t`
MIX_ENV=prod elixir --detached -S mix phx.server
echo "Finished! Deployed."
You can’t perform that action at this time.