From 65f0abec691ce7c9e4b437d3a86243ffc64c9d67 Mon Sep 17 00:00:00 2001 From: Dominic Date: Wed, 31 Jul 2024 15:29:46 +0100 Subject: [PATCH] Update pr-deploy.sh Signed-off-by: Dominic --- pr-deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pr-deploy.sh b/pr-deploy.sh index 310026fb..c74204b0 100644 --- a/pr-deploy.sh +++ b/pr-deploy.sh @@ -93,7 +93,7 @@ nohup ssh -tt -o StrictHostKeyChecking=no -R 80:localhost:$FREE_PORT serveo.net sleep 3 # Check if Serveo tunnel was set up successfully -if [ ! check_serveo ]; then +if [ check_serveo ]; then DEPLOYED_URL=$(grep "Forwarding HTTP traffic from" serveo_output.log | tail -n 1 | awk '{print $5}') else nohup ssh -tt -o StrictHostKeyChecking=no -R 80:localhost:$FREE_PORT ssh.localhost.run > localhost_run_output.log 2>&1 &