mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-11-04 01:15:14 +00:00 
			
		
		
		
	Fix CI, use docker for a yarn command
This commit is contained in:
		
							
								
								
									
										8
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							@@ -144,8 +144,12 @@ pipeline {
 | 
				
			|||||||
			}
 | 
								}
 | 
				
			||||||
			steps {
 | 
								steps {
 | 
				
			||||||
				dir(path: 'docs') {
 | 
									dir(path: 'docs') {
 | 
				
			||||||
					sh 'yarn install'
 | 
										sh '''docker run --rm \\
 | 
				
			||||||
					sh 'yarn build'
 | 
											-v "$(pwd):/app" \\
 | 
				
			||||||
 | 
											-w /app \\
 | 
				
			||||||
 | 
											node:latest \\
 | 
				
			||||||
 | 
											sh -c "yarn install && yarn build"
 | 
				
			||||||
 | 
										'''
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
				dir(path: 'docs/.vuepress/dist') {
 | 
									dir(path: 'docs/.vuepress/dist') {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user