Skip to content

Commit 4e3bba5

Browse files
committed
fix(ci): dummy secrets
1 parent 493eeda commit 4e3bba5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
touch secrets.yaml
4444
echo 'wifi_ssid: "ssid"' >> secrets.yaml
4545
echo 'wifi_password: "password"' >> secrets.yaml
46-
echo 'api_key: key' >> secrets.yaml
47-
echo 'ota_password: password' >> secrets.yaml
46+
buf="";for n in {0..31}; do buf+="\\x$n"; done; printf '%b' "$buf" | base64 | xargs printf 'api_key: "%s"\n' >> secrets.yaml
47+
buf="";for n in {0..31}; do buf+="\\x$n"; done; printf '%b' "$buf" | base64 | xargs printf 'ota_password: "%s"\n' >> secrets.yaml
4848
- name: Compile test configuration
4949
run: esphome compile test.yaml

0 commit comments

Comments
 (0)