summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-07-11 03:02:46 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-07-11 03:02:46 +0300
commitaf87ad4f6595c92db8d24968007ea8215a22fc5a (patch)
treeb7c1921a9d9cc4acd48fcef3b3bd841e306b8a3e
parent2e4ee8694fb829acc2b57b4c95da40f7b773b0cb (diff)
deploy.sh: fix gen_static_config call
-rwxr-xr-xdeploy/deploy.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/deploy.sh b/deploy/deploy.sh
index 95ff314..9773a9f 100755
--- a/deploy/deploy.sh
+++ b/deploy/deploy.sh
@@ -40,7 +40,7 @@ sed -i '/is_dev/d' ./config-local.php
"$DIR"/build_js.sh -i "$DEV_DIR/htdocs/js" -o "$STAGING_DIR/htdocs/dist-js" || die "build_js failed"
"$DIR"/build_css.sh -i "$DEV_DIR/htdocs/scss" -o "$STAGING_DIR/htdocs/dist-css" || die "build_css failed"
-$PHP "$DIR"/gen_static_config.php > "$STAGING_DIR/config-static.php" || die "gen_static_config failed"
+$PHP "$DIR"/gen_static_config.php -i "$STAGING_DIR/htdocs" > "$STAGING_DIR/config-static.php" || die "gen_static_config failed"
popd