diff options
author | hyang <hyang@hyang.xyz> | 2023-09-10 15:51:01 -0700 |
---|---|---|
committer | hyang <hyang@hyang.xyz> | 2023-09-10 15:51:01 -0700 |
commit | 66cc87ca28f7325f5df2fd264127a3f5217b304c (patch) | |
tree | f58e5ea8afcf7a323a69fbddeaba802f6d16629d /watch.sh | |
parent | d4309c6d1ade94c673c0cbfc56bf8bfb99157eda (diff) |
rework docker
Diffstat (limited to 'watch.sh')
-rwxr-xr-x | watch.sh | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,7 +1,8 @@ #!/bin/sh while true; do - git fetch && git reset --hard origin - sleep 60 + (git fetch && git reset --hard origin) || git clone "$REPO" . && git submodule update --init + git submodule update --remote + sleep 300 done |