Gave up and added ps script for fucker
This commit is contained in:
		@@ -1,9 +1,5 @@
 | 
				
			|||||||
sync_website:
 | 
					sync_website:
 | 
				
			||||||
  script:
 | 
					  script:
 | 
				
			||||||
    - powershell | New-Item -Path "C:\inetpub\wwwroot\" -Name enpaul.net.new -ItemType Directory -Force
 | 
					    - .\deploy.ps1
 | 
				
			||||||
    - 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
 | 
					 | 
				
			||||||
  tags:
 | 
					  tags:
 | 
				
			||||||
    - web
 | 
					    - 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