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

This commit is contained in:
CaCO3
2023-02-05 16:31:12 +01:00
committed by GitHub
parent 3dd2b74226
commit f7fc55960b

View File

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