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
						8f96a6b3f0
					
				| 
						 | 
				
			
			@ -9,10 +9,12 @@ agent any
 | 
			
		|||
			steps{
 | 
			
		||||
				sh 'npm install'
 | 
			
		||||
				sh 'npm run build'
 | 
			
		||||
				sh 'cp -r public .next/standalone/'
 | 
			
		||||
				sh 'cp -r prisma .next/standalone/'
 | 
			
		||||
				sh 'cp -r .next/static .next/standalone/'
 | 
			
		||||
				sh ' tar -C .next -cf subman.tar.gz standalone '
 | 
			
		||||
				sh 'mkdir  stagingDir'
 | 
			
		||||
				sh 'cp -r public  stagingDir/'
 | 
			
		||||
				sh 'cp -r prisma  stagingDir/'
 | 
			
		||||
				sh 'cp -r .next/static  stagingDir/.next/'
 | 
			
		||||
				sh 'cp -r .next/standalone/ stagingDir/'
 | 
			
		||||
				sh ' tar -cf subman.tar.gz app '
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		stage('deploy'){
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue