mirror of
				https://github.com/nsnail/spectre.console.git
				synced 2025-11-04 10:35:27 +08:00 
			
		
		
		
	Fix documentation build
This commit is contained in:
		
							
								
								
									
										1
									
								
								.github/workflows/docs.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.github/workflows/docs.yaml
									
									
									
									
										vendored
									
									
								
							@@ -47,5 +47,6 @@ jobs:
 | 
				
			|||||||
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 | 
					        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 | 
				
			||||||
      run: |
 | 
					      run: |
 | 
				
			||||||
        cd docs
 | 
					        cd docs
 | 
				
			||||||
 | 
					        dotnet tool restore
 | 
				
			||||||
        dotnet run --configuration Release
 | 
					        dotnet run --configuration Release
 | 
				
			||||||
        dotnet run -- deploy
 | 
					        dotnet run -- deploy
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										1
									
								
								.github/workflows/publish.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.github/workflows/publish.yaml
									
									
									
									
										vendored
									
									
								
							@@ -35,6 +35,7 @@ jobs:
 | 
				
			|||||||
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 | 
					        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 | 
				
			||||||
      run: |
 | 
					      run: |
 | 
				
			||||||
        cd docs
 | 
					        cd docs
 | 
				
			||||||
 | 
					        dotnet tool restore
 | 
				
			||||||
        dotnet run --configuration Release
 | 
					        dotnet run --configuration Release
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  ###################################################
 | 
					  ###################################################
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -35,7 +35,6 @@ namespace Docs
 | 
				
			|||||||
                {
 | 
					                {
 | 
				
			||||||
                    LogErrors = false
 | 
					                    LogErrors = false
 | 
				
			||||||
                })
 | 
					                })
 | 
				
			||||||
                .AddProcess(ProcessTiming.Initialization, _ => new ProcessLauncher("dotnet", "tool install Microsoft.Playwright.CLI"))
 | 
					 | 
				
			||||||
                .AddProcess(ProcessTiming.Initialization, _ => new ProcessLauncher("dotnet", "playwright install chromium"))
 | 
					                .AddProcess(ProcessTiming.Initialization, _ => new ProcessLauncher("dotnet", "playwright install chromium"))
 | 
				
			||||||
                .AddProcess(ProcessTiming.BeforeDeployment, _ => new ProcessLauncher("npm", "run build:tailwind")
 | 
					                .AddProcess(ProcessTiming.BeforeDeployment, _ => new ProcessLauncher("npm", "run build:tailwind")
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user