Skip to content

Commit

Permalink
ci: add script to build manager and esp32 merged firmware
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanOricil committed Jun 30, 2024
1 parent 2dda6f9 commit c4c4382
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,7 @@ jobs:
# TODO: run tests

- name: Build
run: pio run

- name: Create single ESP32 firmware file
run: ./scripts/merge-esp32-firmware.sh
run: ./scripts/build.sh
shell: bash

- name: Upload ESP32 firmware to Github Actions Artifacts
Expand Down
2 changes: 1 addition & 1 deletion scripts/build-manager.sh → scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ plugins/esp-web-tools.client.ts"
echo "$nuxtignore" > .nuxtignore
npm run generate
cd $base_dir
cp -r ./site/.output/public/* ./data
cp -r $base_dir/site/.output/public/* $base_dir/data
platformio run --target clean
platformio run --environment esp32-cyd
platformio run --target buildfs --environment esp32-cyd
Expand Down

0 comments on commit c4c4382

Please sign in to comment.