Skip to content

Commit

Permalink
Update upload job input key (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
jesserockz authored Aug 4, 2024
1 parent e6f743b commit f5b159b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:
release-version: ${{ github.event_name == 'release' && github.event.release.tag_name || '' }}

upload:
if: github.event_name == 'release' || (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main')
if: github.event_name == 'release' || (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/dev')
name: Upload to R2
needs:
- build-firmware
uses: esphome/workflows/.github/workflows/upload.yml@main
with:
name: voice-kit
directory: voice-kit
version: ${{ needs.build-firmware.outputs.version }}
secrets: inherit

0 comments on commit f5b159b

Please sign in to comment.