summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-07-11 00:01:00 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-07-11 00:01:00 +0300
commite34ea03ae31072c92a7679558f03cf988f932778 (patch)
tree7458c71885661ac754c00af9d0a44b95e0f0565b
parent8367359c3534a2dcaad724099d6060b6926d412e (diff)
deploy: copy config-local before launching build_static
-rwxr-xr-xdeploy.sh5
1 files 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