source the .env
This commit is contained in:
parent
ef77c68b80
commit
f4b2f0ab77
2 changed files with 3 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,3 +1,4 @@
|
||||||
/secrets.env
|
/secrets.env
|
||||||
/tv_state
|
/tv_state
|
||||||
/debug
|
/debug
|
||||||
|
/.env
|
||||||
|
|
|
||||||
|
|
@ -20,10 +20,12 @@ all(){
|
||||||
;;
|
;;
|
||||||
"back")
|
"back")
|
||||||
echo "toggling livingroom lights"
|
echo "toggling livingroom lights"
|
||||||
|
source "$ROOT/.env"
|
||||||
curl -X POST -d '' $LIVINGROOM_LIGHTS_ENDPOINT
|
curl -X POST -d '' $LIVINGROOM_LIGHTS_ENDPOINT
|
||||||
;;
|
;;
|
||||||
"forward")
|
"forward")
|
||||||
echo "toggling kitchen lights"
|
echo "toggling kitchen lights"
|
||||||
|
source "$ROOT/.env"
|
||||||
curl -X POST -d '' $KITCHEN_LIGHTS_ENDPOINT
|
curl -X POST -d '' $KITCHEN_LIGHTS_ENDPOINT
|
||||||
;;
|
;;
|
||||||
"split_right")
|
"split_right")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue