The Gram-Schmidt process is a deformation retraction

Solution 1:

The Gram-Schmidt process without normalization of the vectors is determinant preserving, can be done in a continuous motion, and commutes with scalar multiplication. So first rescale continuously until $|\det |=1$ and then continuously perform the non-normalized orthogonalization to get to $O(n)$.