From 84f9280cb4f4565f0973875aa2913f5b8e82a138 Mon Sep 17 00:00:00 2001 From: ValKmjolnir Date: Thu, 2 Feb 2023 21:28:11 +0800 Subject: [PATCH] :rocket: add test file auto-push.nas --- test/auto-push.nas | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test/auto-push.nas diff --git a/test/auto-push.nas b/test/auto-push.nas new file mode 100644 index 0000000..1feb1da --- /dev/null +++ b/test/auto-push.nas @@ -0,0 +1,5 @@ + +while(system("git push")!=0) { + println("[",os.time(),"] failed to push, retrying..."); + unix.sleep(0.5); +}