From 52a32518c173b1277b1f2574e54ad0cc04b2d0e5 Mon Sep 17 00:00:00 2001 From: "Ethan N. Paul" Date: Tue, 29 Aug 2017 15:30:56 -0400 Subject: [PATCH] Actually fixed the script because I needed to goddamn invoke powershell like a freaken bohemian --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5c640ce..ef4d391 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,9 +1,11 @@ sync_website: script: + - powershell - New-Item -Path "C:\inetpub\wwwroot\" -Name enpaul.net.new -ItemType Directory -Force - Copy-Item -Path .\* -Destination "C:\inetpub\wwwroot\enpaul.net.new\" -Force -Recurse - Rename-Item -Path "C:\inetpub\wwwroot\enpaul.net" -NewName "enpaul.net.old" -Force - Rename-Item -Path "C:\inetpub\wwwroot\enpaul.net.new" -NewName "enpaul.net" -Force - Remove-Item -path "C:\inetpub\wwwroot\enpaul.net.old" -Recurse -Force + - exit tags: - web