From 4a2d73c686e79131ab9355f2bc78efe91a1f89eb Mon Sep 17 00:00:00 2001 From: Peter Siegmund Date: Wed, 1 Oct 2025 17:01:09 +0200 Subject: [PATCH] extract API key Signed-off-by: Peter Siegmund --- .github/workflows/esp32_build.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/esp32_build.yml b/.github/workflows/esp32_build.yml index 832d47f..99e9b53 100644 --- a/.github/workflows/esp32_build.yml +++ b/.github/workflows/esp32_build.yml @@ -35,8 +35,11 @@ jobs: with: submodules: "recursive" - - name: Delete CMakeLists.txt in components (only used for simulator build) - run: rm -f firmware/components/CMakeLists.txt + - name: Extract API key + env: + INSIGHTS_API_KEY: ${{ secrets.INSIGHTS_API_KEY }} + run: | + echo $INSIGHTS_API_KEY > firmware/components/analytics/insights_api_key.txt - name: ESP-IDF build uses: espressif/esp-idf-ci-action@v1