Browse Source

Use the preprocessed Web UI for the manual.zip (#1984)

CaCO3 3 years ago
parent
commit
f7fc55960b
1 changed files with 3 additions and 1 deletions
  1. 3 1
      .github/workflows/build.yaml

+ 3 - 1
.github/workflows/build.yaml

@@ -248,6 +248,8 @@ jobs:
         cp -f "./code/.pio/build/esp32cam/firmware.bin" "manual_setup/firmware.bin"
         cp -f "./code/.pio/build/esp32cam/bootloader.bin" "manual_setup/bootloader.bin"
         cp -f "./code/.pio/build/esp32cam/partitions.bin" "manual_setup/partitions.bin"
+        rm -rf ./sd-card/html
+        cp -r ./html ./sd-card/ # Overwrite the Web UI with the preprocessed files
         cd sd-card; zip -r ../manual_setup/sd-card.zip *; cd ..
         cd ./manual_setup
   
@@ -393,7 +395,7 @@ jobs:
       uses: InsonusK/get-latest-release@v1.0.1
       with:
         myToken: ${{ github.token }}
-        exclude_types: "release"
+        exclude_types: "draft|prerelease"
         view_top: 1     
       
     - name: Add binary to Web Installer and update manifest