Automatic redeploy every 20 seconds
This commit is contained in:
parent
e5bb1d87ad
commit
aa6f7fe627
0
redeploy.sh
Normal file → Executable file
0
redeploy.sh
Normal file → Executable file
2
run.sh
2
run.sh
@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
echo Start
|
echo Start
|
||||||
scriptDir=$(dirname -- "$(readlink -f -- "$BASH_SOURCE")")
|
scriptDir=$(dirname -- "$(readlink -f -- "$BASH_SOURCE")")
|
||||||
|
|
||||||
|
while true; do $scriptDir/redeploy.sh; sleep 20; done &
|
||||||
$scriptDir/webhook -hooks $scriptDir/hooks.json -verbose
|
$scriptDir/webhook -hooks $scriptDir/hooks.json -verbose
|
||||||
echo End Run.sh
|
echo End Run.sh
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user