Update updater
This commit is contained in:
parent
a0d863859c
commit
3bbc55c56e
1 changed files with 3 additions and 2 deletions
|
@ -4,13 +4,14 @@ cd (dirname (status -f))/..
|
|||
|
||||
set -l old_hash (git rev-parse HEAD)
|
||||
while true
|
||||
git pull
|
||||
git pull 2>&1 1>/tmp/status-updater-git-output
|
||||
or break
|
||||
set new_hash (git rev-parse HEAD)
|
||||
if test $old_hash != $new_hash
|
||||
set old_hash $new_hash
|
||||
|
||||
cat /tmp/status-updater-git-output
|
||||
proto/deploy
|
||||
end
|
||||
sleep 60
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue