Update SNTP

This commit is contained in:
Aiden
2024-08-16 20:14:29 +08:00
parent b6f4082099
commit 56b4a71be6
9 changed files with 178 additions and 21 deletions
+28
View File
@@ -0,0 +1,28 @@
name: CI
on:
pull_request:
jobs:
ci:
name: Building ${{ matrix.file }}
runs-on: ubuntu-latest
strategy:
matrix:
file:
- athom-2ch-relay-board.yaml
- athom-4ch-relay-board.yaml
- athom-8ch-relay-board.yaml
- athom-energy-monitor-x2.yaml
- athom-energy-monitor-x6.yaml
- athom-garage-door.yaml
- athom-mini-relay-v2.yaml
- athom-smart-plug.yaml
- athom-zigbee-gateway.yaml
steps:
- name: Checkout source code
uses: actions/checkout@v4.1.7
- name: Build ESPHome firmware to verify configuration
uses: esphome/build-action@v3.2.0
with:
yaml_file: ${{ matrix.file }}
+24
View File
@@ -0,0 +1,24 @@
name: Build and Publish ESPHome firmware and website
on:
push:
branches:
- main
jobs:
build:
uses: esphome/workflows/.github/workflows/publish.yml@main
with:
# CHANGEME: Set the filenames of your config files here:
files:
athom-2ch-relay-board.yaml,
athom-4ch-relay-board.yaml,
athom-8ch-relay-board.yaml,
athom-energy-monitor-x2.yaml,
athom-energy-monitor-x6.yaml,
athom-garage-door.yaml,
athom-mini-relay-v2.yaml,
athom-smart-plug.yaml,
athom-zigbee-gateway.yaml
# CHANGEME: Set the name of your project here:
name: Template Project