From 850f155680e22a890ea91c3a96b90d5b74c35248 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien?= Date: Fri, 7 Oct 2022 14:56:13 -0400 Subject: [PATCH] Create web_deploy.yml [skip actions] --- .github/workflows/web_deploy.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/web_deploy.yml diff --git a/.github/workflows/web_deploy.yml b/.github/workflows/web_deploy.yml new file mode 100644 index 00000000..ae3651e8 --- /dev/null +++ b/.github/workflows/web_deploy.yml @@ -0,0 +1,23 @@ +name: Update Web Installer +on: + workflow_call: + workflow_dispatch: +jobs: + update_web_installer: + name: Update Web Installer After Release + runs-on: ubuntu-latest + container: + image: sle118/squeezelite-esp32-idfv43 + env: + WEB_INSTALLER: ${{ secrets.WEB_INSTALLER }} + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + submodules: true + - name: Update Web Installer Project + run: | + . /opt/esp/python_env/idf4.3_py3.8_env/bin/activate + git config --global --add safe.directory /__w/squeezelite-esp32/squeezelite-esp32 + build_tools.py manifest --flash_file "/build/flash_project_args" --outdir "./bin_files" --manif_name "manifest" --max_count 3 + build_tools.py pushinstaller --source "./bin_files" --manif_name "manifest" --target "web-installer" --url "https://github.com/sle118/squeezelite-esp32-installer.git" --artifacts "artifacts" --web_installer_branch "main" --token "${{env.WEB_INSTALLER}}"