web_deploy.yml 993 B

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