From a7648d41d8db9d05f5b0ff554d89b1087f442ab2 Mon Sep 17 00:00:00 2001 From: EivindH06 Date: Mon, 6 Oct 2025 15:20:44 +0200 Subject: [PATCH] Testing new Release process --- .github/workflows/release.yml | 27 +++++++++++++++++++++++++++ .gitignore | 1 + 2 files changed, 28 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e8010ffc..ddddd898 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,12 @@ on: push: tags: - 'v*.*.*' + - 'beta-*' + +permissions: + contents: write + pages: write + id-token: write jobs: @@ -211,3 +217,24 @@ jobs: asset_path: esp32c3.zip asset_name: ams2mqtt-esp32c3-${{ steps.release_tag.outputs.tag }}.zip asset_content_type: application/zip + + - name: Package firmware manifests + run: | + python scripts/package_firmware.py --output dist --channel stable --version ${{ steps.release_tag.outputs.tag }} + ls -R dist + + - name: Upload Pages artifact + uses: actions/upload-pages-artifact@v3 + with: + path: dist + + deploy: + needs: build + runs-on: ubuntu-latest + environment: + name: github-pages + url: ${{ steps.deploy.outputs.page_url }} + steps: + - name: Deploy to GitHub Pages + id: deploy + uses: actions/deploy-pages@v4 diff --git a/.gitignore b/.gitignore index b32f8837..629f7560 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ node_modules /scripts/*dev localazy-keys.json localazy/language +/.env