feat: add SPIFFS build step to Gitea and GitHub release workflows

This commit is contained in:
Manuel Weiser 2025-02-21 12:09:36 +01:00
parent 2dd563a178
commit 979adcbb14
2 changed files with 2 additions and 0 deletions

View File

@ -60,6 +60,7 @@ jobs:
# Only build SPIFFS if changed # Only build SPIFFS if changed
if [[ "${{ steps.check_spiffs.outputs.SPIFFS_CHANGED }}" == "true" ]]; then if [[ "${{ steps.check_spiffs.outputs.SPIFFS_CHANGED }}" == "true" ]]; then
echo "Building SPIFFS due to changes..." echo "Building SPIFFS due to changes..."
pio run -t buildfs
cp .pio/build/esp32dev/spiffs.bin .pio/build/esp32dev/webpage_${VERSION}.bin cp .pio/build/esp32dev/spiffs.bin .pio/build/esp32dev/webpage_${VERSION}.bin
fi fi

View File

@ -49,6 +49,7 @@ jobs:
# Only build SPIFFS if changed # Only build SPIFFS if changed
if [[ "${{ steps.check_spiffs.outputs.SPIFFS_CHANGED }}" == "true" ]]; then if [[ "${{ steps.check_spiffs.outputs.SPIFFS_CHANGED }}" == "true" ]]; then
echo "Building SPIFFS due to changes..." echo "Building SPIFFS due to changes..."
pio run -t buildfs
cp .pio/build/esp32dev/spiffs.bin .pio/build/esp32dev/webpage_${VERSION}.bin cp .pio/build/esp32dev/spiffs.bin .pio/build/esp32dev/webpage_${VERSION}.bin
fi fi