jiayouba233
					
					4 years ago
					
						
							committed by
							
								
								GitHub
							
						 
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: 4AEE18F83AFDEB23
						
					
				
			
		
		
		
	
		
			
				 1 changed files with 
0 additions and 
28 deletions
			 
			
		 
		
			
				- 
					
					
					 
					.github/workflows/build-pdf.yml
				
 
			
		
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
			
				
					| 
						
						
						
					 | 
				
				 | 
				
					@ -1,29 +1 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					name: Docs to PDF | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					# This workflow is triggered on pushes to the repository. | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					on: | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  push: | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    branches: | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      - master | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    # Paths can be used to only trigger actions when you have edited certain files, such as a file within the /docs directory | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    paths: | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      - '**/**.md' | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					jobs: | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  converttopdf: | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    name: Build PDF | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    runs-on: ubuntu-latest | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    steps: | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      - uses: actions/checkout@v2 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      - uses: baileyjm02/markdown-to-pdf@v1 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        with: | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          input_dir: docs | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          output_dir: pdfs | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          images_dir: docs/images | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          # for example <img src="./images/file-name.png"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          image_import: ./images | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          # Default is true, can set to false to only get PDF files | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          build_html: false | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      - uses: actions/upload-artifact@v1 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        with: | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          name: docs | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          path: pdfs | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |