Automatic redeploy every 20 seconds

This commit is contained in:
root 2024-08-13 06:03:18 +03:00
parent e5bb1d87ad
commit aa6f7fe627
2 changed files with 2 additions and 0 deletions

0
redeploy.sh Normal file → Executable file
View File

2
run.sh
View File

@ -1,5 +1,7 @@
#!/bin/bash
echo Start
scriptDir=$(dirname -- "$(readlink -f -- "$BASH_SOURCE")")
while true; do $scriptDir/redeploy.sh; sleep 20; done &
$scriptDir/webhook -hooks $scriptDir/hooks.json -verbose
echo End Run.sh