diff --git a/.github/workflows/apollo-pages.yml b/.github/workflows/apollo-pages.yml new file mode 100644 index 0000000000..09bcaf41fa --- /dev/null +++ b/.github/workflows/apollo-pages.yml @@ -0,0 +1,37 @@ +name: Deploy Apollo M-1 installer Pages + +on: + release: + types: [published] + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: apollo-pages + cancel-in-progress: true + +jobs: + deploy: + runs-on: ubuntu-latest + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + steps: + - uses: actions/checkout@v4 + - name: Stage manifest and firmware + env: + GH_TOKEN: ${{ github.token }} + run: | + mkdir _site + cp apollo/installer/manifest.json _site/manifest.json + gh release download --repo "$GITHUB_REPOSITORY" \ + --pattern 'M-1_full_install.bin' --dir _site + - uses: actions/upload-pages-artifact@v3 + with: + path: _site + - id: deployment + uses: actions/deploy-pages@v4 diff --git a/apollo/installer/manifest.json b/apollo/installer/manifest.json new file mode 100644 index 0000000000..97d4b441fa --- /dev/null +++ b/apollo/installer/manifest.json @@ -0,0 +1,9 @@ +{ + "name": "Apollo M-1", + "version": "16.0.1", + "home_assistant_domain": "wled", + "new_install_prompt_erase": true, + "builds": [ + { "chipFamily": "ESP32-S3", "parts": [ { "path": "M-1_full_install.bin", "offset": 0 } ] } + ] +}