Testing new Release process

This commit is contained in:
EivindH06
2025-10-06 15:20:44 +02:00
parent 22b4766569
commit a7648d41d8
2 changed files with 28 additions and 0 deletions

View File

@@ -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