No, seriously, i actually fixed the script this time

This commit is contained in:
Ethan N. Paul 2017-08-29 15:45:08 -04:00
parent 52a32518c1
commit d0375328f4

View File

@ -1,11 +1,9 @@
sync_website: sync_website:
script: script:
- powershell - powershell | New-Item -Path "C:\inetpub\wwwroot\" -Name enpaul.net.new -ItemType Directory -Force
- New-Item -Path "C:\inetpub\wwwroot\" -Name enpaul.net.new -ItemType Directory -Force - powershell | Copy-Item -Path .\* -Destination "C:\inetpub\wwwroot\enpaul.net.new\" -Force -Recurse
- Copy-Item -Path .\* -Destination "C:\inetpub\wwwroot\enpaul.net.new\" -Force -Recurse - powershell | Rename-Item -Path "C:\inetpub\wwwroot\enpaul.net" -NewName "enpaul.net.old" -Force
- Rename-Item -Path "C:\inetpub\wwwroot\enpaul.net" -NewName "enpaul.net.old" -Force - powershell | Rename-Item -Path "C:\inetpub\wwwroot\enpaul.net.new" -NewName "enpaul.net" -Force
- Rename-Item -Path "C:\inetpub\wwwroot\enpaul.net.new" -NewName "enpaul.net" -Force - powershell | Remove-Item -path "C:\inetpub\wwwroot\enpaul.net.old" -Recurse -Force
- Remove-Item -path "C:\inetpub\wwwroot\enpaul.net.old" -Recurse -Force
- exit
tags: tags:
- web - web