diff --git a/appveyor.yml b/appveyor.yml
index 1c8ed857a6da30f2eccc9be15a92c1cba7cbc100..17973a88a1992a66aa2244c5509d2882ab06f0e7 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -24,7 +24,7 @@ install:
 build_script:
   - set GOBIN=%CD%/bin
   - set GO111MODULE=on
-  - ./build.ps1
+  - ps: build.ps1
 
 artifacts:
   - path: bin/media_repo.exe