From 8bbcdaa95170311b7c9defb9a69171c7fe5653ac Mon Sep 17 00:00:00 2001 From: Sacha Weatherstone Date: Sat, 9 Oct 2021 15:56:30 +1100 Subject: [PATCH] Bundle WebUI --- .github/workflows/main.yml | 15 +++++++++++++++ data/static/.gitkeep | 0 data/static/index.html | 1 - 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 data/static/.gitkeep delete mode 100644 data/static/index.html diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8c0f0eb1a..fb1ec7c07 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -58,6 +58,21 @@ jobs: run: | pio upgrade + - name: Pull web ui + uses: dsaltares/fetch-gh-release-asset@master + with: + repo: "meshtastic/meshtastic-web" + file: "build.tar" + target: "build.tar" + token: ${{ secrets.GITHUB_TOKEN }} + + - name: Unpack web ui + run: | + tar -xf build.tar -C data/static + rm build.tar + + + # We now run integration test before other build steps (to quickly see runtime failures) - name: Build for native run: platformio run -e native diff --git a/data/static/.gitkeep b/data/static/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/data/static/index.html b/data/static/index.html deleted file mode 100644 index 9297288c7..000000000 --- a/data/static/index.html +++ /dev/null @@ -1 +0,0 @@ -not yet supported - soon will be included in build