mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-15 10:04:35 +00:00
You can find the entire repo here.
This commit is contained in:
16
config/shell_scripts/gitupdate.sh
Executable file
16
config/shell_scripts/gitupdate.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
## These scripts are run from /home/pi
|
||||
|
||||
#!/bin/bash
|
||||
|
||||
cd /home/hass/.homeassistant
|
||||
source /srv/hass/hass_venv/bin/activate
|
||||
hass --script check_config
|
||||
|
||||
git add .
|
||||
git status
|
||||
echo -n "Enter the Description for the Change: " [Minor Update]
|
||||
read CHANGE_MSG
|
||||
git commit -m "${CHANGE_MSG}"
|
||||
git push origin master
|
||||
|
||||
exit
|
Reference in New Issue
Block a user