fix assets install line

This commit is contained in:
byte[] 2020-03-26 13:25:22 -04:00
parent 28c1660561
commit 21d7fda912

View file

@ -30,7 +30,7 @@ fi
# Compile assets
if git diff --name-only $oldrev $newrev | grep "^assets/"; then
echo "Compiling assets"
npm install || die "assets install failed"
npm install --prefix ./assets || die "assets install failed"
npm run deploy --prefix ./assets
mix phx.digest || die "assets compile failed"
fi
@ -46,4 +46,3 @@ echo "Building release"
mix distillery.release --quiet || die "failed to generate release"
_build/prod/rel/philomena/bin/philomena reboot || die "failed to upgrade app; log in to the server and restart the app manually"