Skip to content

Commit

Permalink
Update pr-deploy.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Abasifreke Nkanang <nkanangabasifreke.data@gmail.com>
  • Loading branch information
Data-Bishop authored Aug 7, 2024
1 parent 2d987a4 commit d56fadb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pr-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,6 @@ else
docker run -d --env-file "/tmp/${PR_ID}.env" -p $FREE_PORT:$EXPOSED_PORT -v ${HOST_VOLUME_PATH}:${CONTAINER_VOLUME_PATH} --name $PR_ID $PR_ID
fi

docker ps

# Start SSH Tunnel
nohup ssh -tt -o StrictHostKeyChecking=no -R 80:localhost:$FREE_PORT serveo.net > serveo_output.log 2>&1 &
SERVEO_PID=$!
Expand All @@ -181,7 +179,6 @@ if [ -z "$PREVIEW_URL" ]; then
PREVIEW_URL="http://$(curl ifconfig.me):${FREE_PORT}"
fi

echo "PORT: $FREE_PORT"
comment "Deployed 🎉"
rm -rf /tmp/${PR_ID}.*
echo "$PREVIEW_URL"

0 comments on commit d56fadb

Please sign in to comment.