mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-31 19:36:44 +01:00
fix assets install line
This commit is contained in:
parent
28c1660561
commit
21d7fda912
1 changed files with 1 additions and 2 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue