enpaul.net/.gitlab-ci.yml

10 lines
479 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:
2017-08-29 19:17:05 +00:00
- 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
2017-08-29 15:30:16 +00:00
tags:
2017-08-29 19:17:05 +00:00
- web