try different directory structure
	
		
			
	
		
	
	
		
			
				
	
				Gitea/subman-nextjs/pipeline/head There was a failure building this commit
				
					Details
				
			
		
	
				
					
				
			
				
	
				Gitea/subman-nextjs/pipeline/head There was a failure building this commit
				
					Details
				
			
		
	This commit is contained in:
		
							parent
							
								
									01e7e20686
								
							
						
					
					
						commit
						f2dbcbc57d
					
				| 
						 | 
					@ -9,9 +9,11 @@ agent any
 | 
				
			||||||
			steps{
 | 
								steps{
 | 
				
			||||||
				sh 'npm install'
 | 
									sh 'npm install'
 | 
				
			||||||
				sh 'npm run build'
 | 
									sh 'npm run build'
 | 
				
			||||||
				sh 'cp -r public .next/standalone/'
 | 
									sh 'mkdir build'
 | 
				
			||||||
				sh 'cp -r prisma .next/standalone/'
 | 
									sh 'cp -r public build/'
 | 
				
			||||||
				sh 'cp -r .next/static .next/standalone/'
 | 
									sh 'cp -r prisma build/'
 | 
				
			||||||
 | 
									sh 'cp -r .next/static build/.next/'
 | 
				
			||||||
 | 
									sh 'cp -r .next/standalone/ build/'
 | 
				
			||||||
				sh ' tar -C .next -cf subman.tar.gz standalone '
 | 
									sh ' tar -C .next -cf subman.tar.gz standalone '
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue