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 npm i
fi fi
$PHP build_static.php
cp "$DEV_DIR/config-local.php" . cp "$DEV_DIR/config-local.php" .
sed -i '/is_dev/d' ./config-local.php sed -i '/is_dev/d' ./config-local.php
$PHP build_static.php
popd popd
# copy staging to prod # copy staging to prod