From 1e0cdfaba1847c9fd50be624b528998b1e450e44 Mon Sep 17 00:00:00 2001 From: CaCO3 Date: Sun, 2 Mar 2025 08:31:22 +0100 Subject: [PATCH] Remove unused config template page and empty, unused folder in zip files (#3599) * Update build.yaml * Update build.yaml * remove empty folder in sd-card.zip in manual package --- .github/workflows/build.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 5d560650..c970a1c4 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -84,7 +84,8 @@ jobs: cd ../.. cp -r ./sd-card/html/* ./html/ - + rm -f ./html/edit_config_template.html # Remove the config page template, it is no longer needed + echo "Replacing variables..." cd html find . -type f -exec sed -i 's/$COMMIT_HASH/${{ steps.vars.outputs.sha_short }}/g' {} \; @@ -286,7 +287,7 @@ jobs: rm -rf ./sd-card/demo cp -r ./html ./sd-card/ # Overwrite the Web UI with the preprocessed files cp -r ./demo ./sd-card/ - cd sd-card; zip -r ../manual_setup/sd-card.zip *; cd .. + cd sd-card; rm -rf html/param-tooltips; zip -r ../manual_setup/sd-card.zip *; cd .. cd ./manual_setup - name: Upload manual_setup.zip artifact (Firmware + Bootloader + Partitions + Web UI)