Switch to using file:// for Chrome render.
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			I don't think the web server is started in this mode
This commit is contained in:
		
							parent
							
								
									0347edf338
								
							
						
					
					
						commit
						d2e5369b7b
					
				@ -10,8 +10,7 @@ steps:
 | 
				
			|||||||
  - name: build-resume
 | 
					  - name: build-resume
 | 
				
			||||||
    image: pink33n/html-to-pdf
 | 
					    image: pink33n/html-to-pdf
 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
    - cp -r resume.html css /workspace
 | 
					    - chrome-headless-render-pdf --chrome-binary=/usr/local/bin/chrome-wrapper --url file://$(pwd)/resume.html --pdf /resume-output/Resume-Danila-Fedorin.pdf
 | 
				
			||||||
    - chrome-headless-render-pdf --chrome-binary=/usr/local/bin/chrome-wrapper --url http://localhost/resume.html --pdf /resume-output/Resume-Danila-Fedorin.pdf
 | 
					 | 
				
			||||||
    volumes:
 | 
					    volumes:
 | 
				
			||||||
    - name: resume-output
 | 
					    - name: resume-output
 | 
				
			||||||
      path: /resume-output
 | 
					      path: /resume-output
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user