deploy: fix again

This commit is contained in:
E. S. 2024-02-02 01:53:41 +00:00
parent b1bd58ff41
commit 36af64b12f

View File

@ -36,8 +36,7 @@ if [ ! -d node_modules ]; then
npm i
fi
cp "$DEV_DIR/config-local.php" .
sed -i '/is_dev/d' ./config-local.php
cp "$DEV_DIR/config.yaml" .
"$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"
@ -49,6 +48,7 @@ popd
rsync -a --delete --delete-excluded --info=progress2 "$STAGING_DIR/" "$PROD_DIR/" \
--exclude .git \
--exclude debug.log \
--exclude='/log' \
--exclude='/composer.*' \
--exclude='/htdocs/scss' \
--exclude='/htdocs/js' \