diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 5d560650..c970a1c4 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -84,7 +84,8 @@ jobs: cd ../.. cp -r ./sd-card/html/* ./html/ - + rm -f ./html/edit_config_template.html # Remove the config page template, it is no longer needed + echo "Replacing variables..." cd html find . -type f -exec sed -i 's/$COMMIT_HASH/${{ steps.vars.outputs.sha_short }}/g' {} \; @@ -286,7 +287,7 @@ jobs: rm -rf ./sd-card/demo cp -r ./html ./sd-card/ # Overwrite the Web UI with the preprocessed files cp -r ./demo ./sd-card/ - cd sd-card; zip -r ../manual_setup/sd-card.zip *; cd .. + cd sd-card; rm -rf html/param-tooltips; zip -r ../manual_setup/sd-card.zip *; cd .. cd ./manual_setup - name: Upload manual_setup.zip artifact (Firmware + Bootloader + Partitions + Web UI)