change static directory
	
		
			
	
		
	
	
		
			
				
	
				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
				
			
		
	cf this issue https://github.com/vercel/next.js/issues/49283
This commit is contained in:
		
							parent
							
								
									8836b71111
								
							
						
					
					
						commit
						2723c7a47c
					
				| 
						 | 
				
			
			@ -10,7 +10,7 @@ agent any
 | 
			
		|||
				sh 'npm install'
 | 
			
		||||
				sh 'npm run build'
 | 
			
		||||
				sh 'cp -r public .next/standalone'
 | 
			
		||||
				sh 'cp -r .next/static .next/standalone/.next'
 | 
			
		||||
				sh 'mkdir -p .next/standalone/public/_next cp -r .next/static .next/standalone/public_next'
 | 
			
		||||
				sh ' tar -C .next -cf subman.tar.gz standalone '
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue