Actually fixed the script because I needed to goddamn invoke powershell
like a freaken bohemian
This commit is contained in:
parent
d60b63be8d
commit
52a32518c1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user