Skip to content

Merge pull request #13 from ApolloAutomation/SharedAction #11

Merge pull request #13 from ApolloAutomation/SharedAction

Merge pull request #13 from ApolloAutomation/SharedAction #11

Workflow file for this run

name: Build and Publish
on:
push:
branches:
- main
workflow_dispatch:
inputs:
bypass-yaml-check:
description: 'Bypass YAML change check (force build/publish)'
type: boolean
required: false
default: false
# release:
# types: [published]
jobs:
build-and-publish:
uses: ApolloAutomation/Workflows/.github/workflows/build.yml@main
permissions:
contents: write
pages: write
id-token: write
pull-requests: write
with:
device-name: temp-pro-1
yaml-files: |
Integrations/ESPHome/TEMP_PRO-1_ETH.yaml
Integrations/ESPHome/TEMP_PRO-1_W.yaml
firmware-names: "_ETH:firmware-e,_W:firmware-w"
core-yaml-path: Integrations/ESPHome/Core.yaml
esphome-version: stable
# Bypass check if manually triggered with bypass option
check-yaml-changes: ${{ !(github.event_name == 'workflow_dispatch' && github.event.inputs.bypass-yaml-check == 'true') }}
publish-to-pages: true
has-installer: true
installer-path: static