mirror of
				https://github.com/TheLartians/ModernCppStarter.git
				synced 2025-10-31 10:11:34 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
	
		
			610 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
	
		
			610 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| name: Documentation
 | |
| 
 | |
| on:
 | |
|   push:
 | |
|     tags:
 | |
|       - '*'
 | |
| 
 | |
| jobs:
 | |
|   build:
 | |
|     name: Build and publish documentation
 | |
|     runs-on: macos-latest
 | |
|     steps:
 | |
|       - uses: actions/checkout@v1
 | |
| 
 | |
|       - name: Install dependencies
 | |
|         run: |
 | |
|           brew install doxygen
 | |
|           pip3 install jinja2 Pygments
 | |
| 
 | |
|       - name: Build
 | |
|         run: |
 | |
|           cmake -Hdocumentation -Bbuild
 | |
|           cmake --build build --target GenerateDocs
 | |
| 
 | |
|       - name: Publish
 | |
|         uses: peaceiris/actions-gh-pages@v3
 | |
|         with:
 | |
|           github_token: ${{ secrets.GITHUB_TOKEN }}
 | |
|           publish_dir: ./build/doxygen/html
 |