mirror of
https://github.com/brianhanifin/esphome-config.git
synced 2026-07-28 04:05:55 +00:00
github action
This commit is contained in:
@@ -4,7 +4,7 @@ name: build
|
||||
|
||||
# yamllint disable-line rule:truthy
|
||||
on:
|
||||
push:
|
||||
- push
|
||||
|
||||
jobs:
|
||||
esphome:
|
||||
@@ -23,8 +23,8 @@ jobs:
|
||||
pip list
|
||||
esphome version
|
||||
- name: Copy secrets file into configuration folder
|
||||
run: cp -R ./.stubs/* ./config/esphome/
|
||||
run: cp -R ./.stubs/* ./
|
||||
- name: Run esphome on all files
|
||||
# yamllint disable rule:line-length
|
||||
run: |
|
||||
for file in $(find ./config/esphome -type f -name "*.yaml" -not -name "secrets.yaml"); do esphome "${file}" config; done
|
||||
for file in $(find ./ -type f -name "*.yaml" -not -name "secrets.yaml"); do esphome "${file}" config; done
|
||||
|
||||
Reference in New Issue
Block a user