deploy: copy config-local before launching build_static

This commit is contained in:
Evgeny Zinoviev 2022-07-11 00:01:00 +03:00
parent 8367359c35
commit e34ea03ae3

View File

@ -30,10 +30,11 @@ if [ ! -d node_modules ]; then
npm i
fi
$PHP build_static.php
cp "$DEV_DIR/config-local.php" .
sed -i '/is_dev/d' ./config-local.php
$PHP build_static.php
popd
# copy staging to prod