fix: delete old standalone folder before making new one!
	
		
			
	
		
	
	
		
			
				
	
				Gitea/subman-nextjs/pipeline/head This commit is unstable
				
					Details
				
			
		
	
				
					
				
			
				
	
				Gitea/subman-nextjs/pipeline/head This commit is unstable
				
					Details
				
			
		
	This commit is contained in:
		
							parent
							
								
									9179aab7d4
								
							
						
					
					
						commit
						4c19161d0b
					
				| 
						 | 
					@ -14,6 +14,7 @@ agent any
 | 
				
			||||||
				sh 'cp -r prisma standalone/'
 | 
									sh 'cp -r prisma standalone/'
 | 
				
			||||||
				sh 'cp -r .next/static standalone/.next/'
 | 
									sh 'cp -r .next/static standalone/.next/'
 | 
				
			||||||
				sh ' tar -cf subman.tar.gz standalone '
 | 
									sh ' tar -cf subman.tar.gz standalone '
 | 
				
			||||||
 | 
									sh 'rm -r standalone'
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		stage('deploy'){
 | 
							stage('deploy'){
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue