Evolution of surface deformations of weakly bound nuclei in the continuum