Skip to content

Commit

Permalink
Test again
Browse files Browse the repository at this point in the history
  • Loading branch information
klaasnicolaas committed Jun 29, 2024
1 parent ce16b18 commit 8d2e711
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-firmware.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
id: determine_ref
run: |
if [[ "${{ github.ref }}" != "refs/heads/main" ]]; then
sed -i "s/ref: .*/ref: ${{ github.head_ref }}/g" ${{ matrix.firmware }}/${{ matrix.device }}.yaml
sed -i "s/ref: .*/ref: ${{ github.head_ref || github.ref }}/g" ${{ matrix.firmware }}/${{ matrix.device }}.yaml
else
echo "Skipping sed command because the branch is main."
fi
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/deploy-firmware.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ on:

jobs:
build-firmware:
name: 🔨 Build firmware
uses: klaasnicolaas/home-assistant-glow/.github/workflows/build-firmware.yaml@klaas-2024-035
with:
release-url: ${{ github.event.release.html_url }}
Expand Down

0 comments on commit 8d2e711

Please sign in to comment.