mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-31 21:59:43 +03:00
Create web_deploy.yml [skip actions]
This commit is contained in:
23
.github/workflows/web_deploy.yml
vendored
Normal file
23
.github/workflows/web_deploy.yml
vendored
Normal file
@@ -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}}"
|
||||||
Reference in New Issue
Block a user