Skip to content

Commit

Permalink
Update pr-deploy.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Dominic <[email protected]>
  • Loading branch information
dominic-source authored Jul 31, 2024
1 parent 5edde7f commit 65f0abe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pr-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 &
Expand Down

0 comments on commit 65f0abe

Please sign in to comment.