2018-01-02 00:00:45 +00:00
|
|
|
#!/bin/bash
|
2018-03-25 15:58:56 +00:00
|
|
|
cd /home/hass/docker_files
|
|
|
|
docker-compose exec home-assistant python -m homeassistant --config /config --script check_config
|
2018-01-02 00:00:45 +00:00
|
|
|
|
2018-03-25 15:58:56 +00:00
|
|
|
cd /home/hass/docker_files/homeassistant
|
2018-01-02 00:00:45 +00:00
|
|
|
|
|
|
|
git add .
|
|
|
|
git status
|
2018-03-25 15:58:56 +00:00
|
|
|
echo -n "Enter the Description for the Change: [Minor Edit] "
|
2018-01-02 00:00:45 +00:00
|
|
|
read CHANGE_MSG
|
2018-03-25 15:58:56 +00:00
|
|
|
CHANGE_MSG=${CHANGE_MSG:-Minor Edit}
|
2018-01-02 00:00:45 +00:00
|
|
|
git commit -m "${CHANGE_MSG}"
|
|
|
|
git push origin master
|
|
|
|
|
2018-03-25 15:58:56 +00:00
|
|
|
cd ~
|
2018-01-02 00:00:45 +00:00
|
|
|
exit
|