mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-16 08:52:50 +08:00
Fix documentation build
This commit is contained in:
parent
8e762e4618
commit
8ce40bac3c
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")
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user