Set Execution Policy

I have created an Alexa skill and added ask cli support to it. While I was deploying it through my system, the hook script failed. So I opened Power shell as administrator and ran the following command:
“Set-ExecutionPolicy unregistered”
Then it started working fine and now I want to deploy it using gitlab ci/cd but the same problem is arising again. So I want to know that how can I change Execution Policy here.