Gave up and added ps script for fucker
This commit is contained in:
		@@ -1,9 +1,5 @@
 | 
			
		||||
sync_website:
 | 
			
		||||
  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
 | 
			
		||||
    - .\deploy.ps1
 | 
			
		||||
  tags:
 | 
			
		||||
    - web
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										5
									
								
								deploy.ps1
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								deploy.ps1
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
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
 | 
			
		||||
		Reference in New Issue
	
	Block a user