Add mkdocs action
This commit is contained in:
		
							parent
							
								
									c72bb7baa1
								
							
						
					
					
						commit
						e3d41db178
					
				
					 2 changed files with 21 additions and 0 deletions
				
			
		
							
								
								
									
										19
									
								
								.github/workflows/mkdocs.yml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								.github/workflows/mkdocs.yml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,19 @@
 | 
				
			||||||
 | 
					name: Publish docs via GitHub Pages
 | 
				
			||||||
 | 
					on:
 | 
				
			||||||
 | 
					  push:
 | 
				
			||||||
 | 
					    branches:
 | 
				
			||||||
 | 
					      - master
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					jobs:
 | 
				
			||||||
 | 
					  build:
 | 
				
			||||||
 | 
					    name: Deploy docs
 | 
				
			||||||
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
					    steps:
 | 
				
			||||||
 | 
					      - name: Checkout main
 | 
				
			||||||
 | 
					        uses: actions/checkout@v2
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: Deploy docs
 | 
				
			||||||
 | 
					        uses: mhausenblas/mkdocs-deploy-gh-pages@master
 | 
				
			||||||
 | 
					        env:
 | 
				
			||||||
 | 
					          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 | 
				
			||||||
 | 
					          REQUIREMENTS: docs/requirements.txt
 | 
				
			||||||
							
								
								
									
										2
									
								
								docs/requirements.txt
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								docs/requirements.txt
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,2 @@
 | 
				
			||||||
 | 
					mkdocs-glightbox
 | 
				
			||||||
 | 
					mkdocs-git-revision-date-localized-plugin
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue