mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-02-21 16:44:46 +00:00
Testing YAML files before sharing them.
This commit is contained in:
parent
3b44dd4194
commit
d33e2a4009
@ -1,5 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
cd /home/hass/.homeassistant
|
cd /home/hass/.homeassistant
|
||||||
|
source /srv/hass/hass_venv/bin/activate
|
||||||
|
hass --script check_config
|
||||||
|
|
||||||
git add .
|
git add .
|
||||||
git status
|
git status
|
||||||
echo -n "Enter the Description for the Change: "
|
echo -n "Enter the Description for the Change: "
|
||||||
@ -7,3 +11,4 @@ read CHANGE_MSG
|
|||||||
git commit -m "${CHANGE_MSG}"
|
git commit -m "${CHANGE_MSG}"
|
||||||
git push origin master
|
git push origin master
|
||||||
|
|
||||||
|
exit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user