service zigbee2mqtt continous deploy
This commit is contained in:
10
.gitea/workflows/service.zigbee2mqtt.yml
Normal file
10
.gitea/workflows/service.zigbee2mqtt.yml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
name: deploy zigbee2mqtt
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: "homesrv01"
|
||||||
|
steps:
|
||||||
|
- name: Portainer webhook
|
||||||
|
run: |
|
||||||
|
curl -X POST "${{secrets.PORTAINER_ZIGBEE2MQTT_WEBHOOK_URL}}"
|
||||||
@@ -11,7 +11,7 @@ services:
|
|||||||
# Frontend port
|
# Frontend port
|
||||||
- 8085:8080
|
- 8085:8080
|
||||||
environment:
|
environment:
|
||||||
- TZ=Europe/Berlin
|
- TZ=Europe/Lisbon
|
||||||
devices:
|
devices:
|
||||||
# Make sure this matched your adapter location
|
# Make sure this matched your adapter location
|
||||||
- /dev/ttyUSB0:/dev/ttyUSB0
|
- /dev/ttyUSB0:/dev/ttyUSB0
|
||||||
|
|||||||
Reference in New Issue
Block a user