How to stop the model from deforming while it rotates?
All seems to work as it should. Don't rotate your mesh directly after applying an armature - after this point, only the armature is responsible for the moving.

In pose mode, you can move and rotate all bones to modify your mesh. If you want to rotate the entire armature (and your mesh with it), leave the pose mode and rotate the armature in object mode.