Skip to content

Commit e1adb27

Browse files
committed
Add missing variable
1 parent c966dfd commit e1adb27

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/deploy-pages.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444

4545
# Bundle all assets for Pages
4646
bundle-assets:
47+
name: Create asset bundle
4748
runs-on: ubuntu-latest
4849
needs: [build-docs, build-doorman-stock-firmware, build-doorman-nuki-bridge-firmware]
4950
steps:
@@ -90,7 +91,7 @@ jobs:
9091
# Deployment job
9192
deploy-master:
9293
if: github.ref == 'refs/heads/master'
93-
name: Deploy to Github Pages
94+
name: Deploy to Github Pages (stable)
9495
environment:
9596
name: github-pages
9697
url: ${{ steps.deployment.outputs.page_url }}
@@ -103,7 +104,7 @@ jobs:
103104

104105
deploy-dev:
105106
if: github.ref != 'refs/heads/master'
106-
name: Deploy to surge.sh
107+
name: Deploy to surge.sh (dev)
107108
needs: [bundle-assets]
108109
runs-on: ubuntu-latest
109110
steps:

.github/workflows/esphome-build.yml

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
- name: Change ESPHome project version to dev
5252
if: github.ref != 'refs/heads/master'
5353
run: |
54+
VERSION=$(awk '/project:/, /version:/' firmware/base.yaml | grep 'version:' | awk '{print $2}' | sed 's/[",]//g')
5455
sed -i '/^ project:/,/^ platformio_options:/s/^ version: .*/ version: "'"$VERSION"'-dev"/' firmware/base.yaml
5556
5657
- uses: esphome/build-action@v4.0.1

0 commit comments

Comments
 (0)