mirror of
https://github.com/mempool/mempool.git
synced 2024-11-19 18:03:00 +01:00
Don't call npm install
with --only=prod
This commit is contained in:
parent
fb47f5606a
commit
75ce300332
@ -10,13 +10,13 @@ do
|
||||
cp "../production/mempool-config.${site}.json" "mempool-config.json"
|
||||
touch cache.json
|
||||
|
||||
npm install --only=prod
|
||||
npm install
|
||||
npm run build
|
||||
|
||||
if [ "${site}" = "mainnet" ]
|
||||
then
|
||||
cd "${HOME}/${site}/frontend/"
|
||||
npm install --only=prod
|
||||
npm install
|
||||
npm run build
|
||||
rsync -av ./dist/mempool/* "${HOME}/public_html/${site}/"
|
||||
fi
|
||||
|
@ -34,13 +34,13 @@ do
|
||||
if [ "${site}" = "mainnet" ]
|
||||
then
|
||||
cd "$HOME/${site}/frontend"
|
||||
npm install --only=prod
|
||||
npm install
|
||||
npm run build
|
||||
rsync -av ./dist/mempool/* "${HOME}/public_html/${site}/"
|
||||
fi
|
||||
|
||||
cd "$HOME/${site}/backend"
|
||||
npm install --only=prod
|
||||
npm install
|
||||
npm run build
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user