Explorar o código

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

CaCO3 %!s(int64=3) %!d(string=hai) anos
pai
achega
f7fc55960b
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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/firmware.bin" "manual_setup/firmware.bin"
         cp -f "./code/.pio/build/esp32cam/bootloader.bin" "manual_setup/bootloader.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"
         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 sd-card; zip -r ../manual_setup/sd-card.zip *; cd ..
         cd ./manual_setup
         cd ./manual_setup
   
   
@@ -393,7 +395,7 @@ jobs:
       uses: InsonusK/get-latest-release@v1.0.1
       uses: InsonusK/get-latest-release@v1.0.1
       with:
       with:
         myToken: ${{ github.token }}
         myToken: ${{ github.token }}
-        exclude_types: "release"
+        exclude_types: "draft|prerelease"
         view_top: 1     
         view_top: 1     
       
       
     - name: Add binary to Web Installer and update manifest
     - name: Add binary to Web Installer and update manifest