CI: MQTT_URL and MQTT_USERNAME may be Actions variables (not secret), falling back to secrets
CI / check (push) Successful in 18s
CI / deploy (push) Successful in 18s

This commit is contained in:
randy committed 2026-11-19 00:48:44 +01:00
1 parent 02c2ef05f8
commit 6b6a7f0027
2 files changed
+5 -4

No files matched your search

+2 -2
View File
@@ -112,8 +112,8 @@ jobs:
P4N_USER=${{ secrets.P4N_USER }}
P4N_PASSWORD=${{ secrets.P4N_PASSWORD }}
P4N_SESSION_COOKIE=${{ secrets.P4N_SESSION_COOKIE }}
MQTT_URL=${{ secrets.MQTT_URL }}
MQTT_USERNAME=${{ secrets.MQTT_USERNAME }}
MQTT_URL=${{ vars.MQTT_URL || secrets.MQTT_URL }}
MQTT_USERNAME=${{ vars.MQTT_USERNAME || secrets.MQTT_USERNAME }}
MQTT_PASSWORD=${{ secrets.MQTT_PASSWORD }}
EOF
chmod 600 /srv/podman/maptool/.env
+3 -2
View File
@@ -162,8 +162,9 @@ id/secret to store as the two `OAUTH_CLIENT_*` secrets above.
usernames, e.g. `randy,friend1,friend2` — not their emails, the
`login` field from Gitea's `/api/v1/user`.
Optional: `MQTT_URL`, `MQTT_USERNAME`, `MQTT_PASSWORD` (same names as
secrets and in `.env`) — the home MQTT broker the car's ESPHome nodes
Optional: `MQTT_URL`, `MQTT_USERNAME`, `MQTT_PASSWORD` (same names in
`.env`; the URL and username aren't secret and may be Actions
*Variables* instead of Secrets, the password a Secret) — the home MQTT broker the car's ESPHome nodes
publish to, read by `/api/live` (the "Vehicle & ITS-G5" overlay): the
GNSS tracker's `mcu-tracker/location` and the ITS-G5 receiver's
`mcu-its-g5/decoded`. Use a read-only broker user limited to those