Modified IIS deploy to ignore htaccess, added htaccess, modified Apache

deploy to delete yaml file
This commit is contained in:
Ethan N. Paul
2017-12-21 18:20:17 -05:00
parent 864223344f
commit e69eb62caf
3 changed files with 14 additions and 1 deletions

View File

@@ -18,6 +18,9 @@ if (Test-Path "C:\inetpub\wwwroot\enpaul.net.new\deploy.ps1") {
if (Test-Path "C:\inetpub\wwwroot\enpaul.net.new\.gitignore") {
Remove-Item -Path "C:\inetpub\wwwroot\enpaul.net.new\.gitignore" -Force
}
if (Test-Path "C:\inetpub\wwwroot\enpaul.net.new\.htaccess") {
Remove-Item -Path "C:\inetpub\wwwroot\enpaul.net.new\.htaccess" -Force
}
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