Start by detecting when the button becomes pressed rather than when it is pressed. See the StateChangeDetection example in the IDE. Change the state of a variable ( a boolean is convenient) every time the button becomes pressed.
1 turn to the right
I assume that you mean 360 degrees. How many steps are needed to turn the motor 360 degrees ?
Based on the value of the boolean variable move the motor the required number of steps in one direction or the other when the button becomes pressed.