diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-07-11 03:02:46 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-07-11 03:02:46 +0300 |
commit | af87ad4f6595c92db8d24968007ea8215a22fc5a (patch) | |
tree | b7c1921a9d9cc4acd48fcef3b3bd841e306b8a3e /deploy | |
parent | 2e4ee8694fb829acc2b57b4c95da40f7b773b0cb (diff) |
deploy.sh: fix gen_static_config call
Diffstat (limited to 'deploy')
-rwxr-xr-x | deploy/deploy.sh | 2 |
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 |