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
This commit is contained in:
CaCO3
2025-03-02 08:31:22 +01:00
committed by GitHub
parent bfebcd5d15
commit 1e0cdfaba1

View File

@@ -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)