aboutsummaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-07-10 01:30:05 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-07-10 23:53:02 +0300
commit1c524efbf7da91cb99bb4516feb514071e938495 (patch)
treee1fced0104749014db154f5d3b29881e705bfafc /deploy.sh
parent8979719a1af4bc0712407db7f95704f645f261a3 (diff)
dark theme support
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/deploy.sh b/deploy.sh
index a64c174..96240f6 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -25,7 +25,12 @@ git reset --hard
git pull origin master
composer8.1 install --no-dev --optimize-autoloader --ignore-platform-reqs
-$PHP prepare_static.php
+
+if [ ! -d node_modules ]; then
+ npm i
+fi
+
+$PHP build_static.php
cp "$DEV_DIR/config-local.php" .
cat config-local.php | grep -v is_dev | tee config-local.php >/dev/null