Fixed and finalized the build script
This commit is contained in:
parent
cfbf8c70b7
commit
d60b63be8d
@ -1,8 +1,9 @@
|
|||||||
sync_website:
|
sync_website:
|
||||||
script:
|
script:
|
||||||
- New-Item -Path "C:\inetpub\wwwroot\" -Name enpaul.new -ItemType Directory -Force
|
- New-Item -Path "C:\inetpub\wwwroot\" -Name enpaul.net.new -ItemType Directory -Force
|
||||||
- Copy-Item -Path .\* -Destination "C:\inetpub\wwwroot\enpaul.new\" -Force -Recurse
|
- Copy-Item -Path .\* -Destination "C:\inetpub\wwwroot\enpaul.net.new\" -Force -Recurse
|
||||||
- Rename-Item -path .\CKCADTech -NewName CKCAD -Force
|
- Rename-Item -Path "C:\inetpub\wwwroot\enpaul.net" -NewName "enpaul.net.old" -Force
|
||||||
- Remove-Item -path "C:\inetpub\wwwroot\enpaul.net\*" -Recurse -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
|
||||||
tags:
|
tags:
|
||||||
- null
|
- web
|
||||||
|
Loading…
Reference in New Issue
Block a user