From f7fc55960b6d9a3b0012f496ee1a643f0bcec174 Mon Sep 17 00:00:00 2001 From: CaCO3 Date: Sun, 5 Feb 2023 16:31:12 +0100 Subject: [PATCH] Use the preprocessed Web UI for the manual.zip (#1984) --- .github/workflows/build.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ecfae65b..d620dc00 100644 --- a/.github/workflows/build.yaml +++ b/.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