Skip to content

Commit

Permalink
Add release notes page, add release-url to manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenpapierski committed Aug 14, 2024
1 parent 3b67b2d commit 13e0d0e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/action-build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ on:
required: false
type: boolean
default: true
release-url:
description: URL with release notes that will be added to the manifest
required: false
type: string
default: ""


jobs:
prepare:
Expand Down Expand Up @@ -54,6 +60,7 @@ jobs:
with:
yaml-file: ${{ matrix.file }}
version: ${{ inputs.esphome-version }}
release-url: ${{ inputs.release-url }}
- run: |
mkdir output
mv "${{ steps.esphome-build.outputs.name }}" output/
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/workflow-bpmk1-fw-change.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ jobs:
name: Bed Presence Mk1
esphome-version: latest
manifest-filename: bpmk1-manifest.json
release-url: https://docs.elevatedsensors.com/bed-presence-mk1/release
12 changes: 12 additions & 0 deletions static/bed-presence-mk1/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,17 @@ subtitle: A dual bed occupancy sensor
</div>
</div>
</div>

<!-- Firmware Release Notes -->
<div class="col-lg-4">
<div class="card text-left border-primary h-100">
<div class="card-body">
<h5 class="card-title">Firmware Release Notes</h5>
<p class="card-text">Details about each version of firmware.</p>
<a href="{% link bed-presence-mk1/release.md%}" class="btn btn-outline-warning stretched-link">Go!</a>
</div>
</div>
</div>

</div>

0 comments on commit 13e0d0e

Please sign in to comment.