Actualiser .gitea/workflows/deploy-canary.yml
This commit is contained in:
1 parent
623a2cbf76
commit
5001fa4b84
1 file changed
+1
-1
@@ -37,7 +37,7 @@ jobs:
|
|||||||
echo "== HTTPS vers Gitea =="
|
echo "== HTTPS vers Gitea =="
|
||||||
curl -sI https://ephagit.ephaitek.com | head -n1
|
curl -sI https://ephagit.ephaitek.com | head -n1
|
||||||
echo "== TCP 2224 vers srv =="
|
echo "== TCP 2224 vers srv =="
|
||||||
# pas besoin de nc : on utilise /dev/tcp de bash
|
# pas besoin de nc : on utilise /dev/tcp de bash
|
||||||
if timeout 5 bash -c 'cat < /dev/null > /dev/tcp/srv.ephaitek.com/2224'; then
|
if timeout 5 bash -c 'cat < /dev/null > /dev/tcp/srv.ephaitek.com/2224'; then
|
||||||
echo "OK: port 2224 ouvert vers srv"
|
echo "OK: port 2224 ouvert vers srv"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in new issue
Block a user