mirror of
https://github.com/esphome/home-assistant-addon.git
synced 2024-11-15 10:45:14 +01:00
Make a boolean input
This commit is contained in:
parent
4f451fac6a
commit
44783e6a19
3
.github/workflows/deploy-community.yml
vendored
3
.github/workflows/deploy-community.yml
vendored
@ -8,6 +8,7 @@ on:
|
||||
required: true
|
||||
beta:
|
||||
description: Whether to release a beta version
|
||||
type: boolean
|
||||
required: false
|
||||
default: false
|
||||
|
||||
@ -15,7 +16,7 @@ jobs:
|
||||
deploy-community-addons:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- if: ${{ contains(github.event.inputs.version, 'b') || github.event.inputs.beta }}
|
||||
- if: ${{ contains(github.event.inputs.version, 'b') || github.event.inputs.beta == 'true' }}
|
||||
name: Publish beta release to community-addons repository
|
||||
run: |
|
||||
docker run --rm hassioaddons/repository-updater:latest \
|
||||
|
Loading…
Reference in New Issue
Block a user