messed it up on purpose
This commit is contained in:
parent
a0fe0a9f1b
commit
98952df123
@ -2,4 +2,4 @@ sync_website:
|
||||
script:
|
||||
- powershell .\deploy.ps1
|
||||
tags:
|
||||
- web
|
||||
- bad
|
||||
|
@ -1,9 +1,9 @@
|
||||
if (Test-Path "C:\inetpub\wwwroot\enpaul.net.new") {
|
||||
Remove-Item -Path "C:\inetpub\wwwroot\enpaul.net.new" -Recurse -Force
|
||||
}
|
||||
|
||||
New-Item -Path "C:\inetpub\wwwroot\" -Name "enpaul.net.new" -ItemType Directory -Force
|
||||
|
||||
$ExcludeExt = '*.yml', '*.ps1', '*.gitignore'
|
||||
|
||||
Get-ChildItem ".\" -Recurse -Exclude $ExcludeExtentions | Where-Object { ".\.git" -notcontains $_.DirectoryName } | Copy-Item -Destination "C:\inetpub\wwwroot\enpaul.net.new\"
|
||||
|
||||
#Copy-Item -Path .\* -Destination "C:\inetpub\wwwroot\enpaul.net.new\" -Force -Recurse
|
||||
#Remove-Item -Path "C:\inetpub\wwwroot\enpaul.net.new\.git" -Recurse -Force
|
||||
#Remove-Item -Path "C:\inetpub\wwwroot\enpaul.net.new\.gitlab-ci.yml" -Force
|
||||
|
Loading…
Reference in New Issue
Block a user