enpaul.net/.gitlab-ci.yml

10 lines
544 B
YAML
Raw Normal View History

2017-08-29 15:32:00 +00:00
sync_website:
2017-08-29 15:30:16 +00:00
script:
- powershell | 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
- powershell | 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
- powershell | Remove-Item -path "C:\inetpub\wwwroot\enpaul.net.old" -Recurse -Force
2017-08-29 15:30:16 +00:00
tags:
2017-08-29 19:17:05 +00:00
- web