Skip to content

Commit 850f155

Browse files
authored
Create web_deploy.yml [skip actions]
1 parent 2af9386 commit 850f155

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/web_deploy.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Update Web Installer
2+
on:
3+
workflow_call:
4+
workflow_dispatch:
5+
jobs:
6+
update_web_installer:
7+
name: Update Web Installer After Release
8+
runs-on: ubuntu-latest
9+
container:
10+
image: sle118/squeezelite-esp32-idfv43
11+
env:
12+
WEB_INSTALLER: ${{ secrets.WEB_INSTALLER }}
13+
steps:
14+
- uses: actions/checkout@v2
15+
with:
16+
fetch-depth: 0
17+
submodules: true
18+
- name: Update Web Installer Project
19+
run: |
20+
. /opt/esp/python_env/idf4.3_py3.8_env/bin/activate
21+
git config --global --add safe.directory /__w/squeezelite-esp32/squeezelite-esp32
22+
build_tools.py manifest --flash_file "/build/flash_project_args" --outdir "./bin_files" --manif_name "manifest" --max_count 3
23+
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}}"

0 commit comments

Comments
 (0)