Jelajahi Sumber

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
CaCO3 11 bulan lalu
induk
melakukan
1e0cdfaba1
1 mengubah file dengan 3 tambahan dan 2 penghapusan
  1. 3 2
      .github/workflows/build.yaml

+ 3 - 2
.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)