From e34ea03ae31072c92a7679558f03cf988f932778 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Mon, 11 Jul 2022 00:01:00 +0300 Subject: deploy: copy config-local before launching build_static --- deploy.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/deploy.sh b/deploy.sh index 7f37873..9e418e4 100755 --- a/deploy.sh +++ b/deploy.sh @@ -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 -- cgit v1.2.3