This commit is contained in:
Ell 2023-08-12 22:18:23 +02:00
parent 8805c7675a
commit 35320f570d

View file

@ -5,11 +5,11 @@ when:
- "Changelog.md" - "Changelog.md"
- "InGameNews.md" - "InGameNews.md"
steps: steps:
build-web: build-docs:
image: mcr.microsoft.com/dotnet/sdk:7.0.305 image: mcr.microsoft.com/dotnet/sdk:7.0.305
commands: commands:
- cd docs && dotnet tool restore && dotnet docfx - cd docs && dotnet tool restore && dotnet docfx
preview-web: preview-docs:
image: woodpeckerci/plugin-surge-preview image: woodpeckerci/plugin-surge-preview
when: when:
event: pull_request event: pull_request
@ -21,7 +21,7 @@ steps:
forge_url: https://github.com forge_url: https://github.com
forge_repo_token: forge_repo_token:
from_secret: github_token from_secret: github_token
deploy-web: deploy-docs:
image: debian:latest image: debian:latest
when: when:
event: [push, manual] event: [push, manual]