mirror of
				https://github.com/spectreconsole/spectre.console.git
				synced 2025-10-25 15:19:23 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			36 lines
		
	
	
		
			685 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			685 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| name: Deploy Documentation
 | |
| on:
 | |
|     workflow_dispatch:
 | |
|     push:
 | |
|         paths:
 | |
|         - 'docs/**'
 | |
|         - 'src/**'
 | |
| 
 | |
| jobs:
 | |
| 
 | |
|   ###################################################
 | |
|   # DOCS
 | |
|   ###################################################
 | |
| 
 | |
|   build:
 | |
|     name: Deploy
 | |
|     runs-on: windows-latest
 | |
|     steps:
 | |
|     - name: Checkout
 | |
|       uses: actions/checkout@v2
 | |
|       with:
 | |
|         fetch-depth: 0
 | |
| 
 | |
|     - name: Setup dotnet
 | |
|       uses: actions/setup-dotnet@v1
 | |
|       with:
 | |
|         dotnet-version: 5.0.100
 | |
| 
 | |
|     - name: Publish
 | |
|       shell: bash
 | |
|       env:
 | |
|         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 | |
|       run: |
 | |
|         cd docs
 | |
|         dotnet run --configuration Release -- deploy
 |