Log level is now configurable through a drone secret
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Dreaded_X 2023-01-18 18:11:52 +01:00
parent 4844bd5d79
commit 25793c0af1
Signed by: Dreaded_X
GPG Key ID: 76BDEC4E165D8AD9

View File

@ -23,12 +23,14 @@ steps:
from_secret: HUE_TOKEN from_secret: HUE_TOKEN
NTFY_TOPIC: NTFY_TOPIC:
from_secret: NTFY_TOPIC from_secret: NTFY_TOPIC
RUST_LOG:
from_secret: RUST_LOG
commands: commands:
- docker stop automation_rs || true - docker stop automation_rs || true
- docker rm automation_rs || true - docker rm automation_rs || true
- docker create -e MQTT_PASSWORD=$MQTT_PASSWORD -e HUE_TOKEN=$HUE_TOKEN -e NTFY_TOPIC=$NTFY_TOPIC --name automation_rs automation_rs - docker create -e RUST_LOG=$RUST_LOG -e MQTT_PASSWORD=$MQTT_PASSWORD -e HUE_TOKEN=$HUE_TOKEN -e NTFY_TOPIC=$NTFY_TOPIC --name automation_rs automation_rs
- docker network connect mqtt automation_rs - docker network connect mqtt automation_rs
- docker network connect web automation_rs - docker network connect web automation_rs
- docker start automation_rs - docker start automation_rs