better workflow names

This commit is contained in:
Ell 2023-08-12 22:17:56 +02:00
parent 8bc465b4bc
commit 8805c7675a
2 changed files with 6 additions and 6 deletions

View file

@ -5,11 +5,11 @@ when:
- "Changelog.md" - "Changelog.md"
- "InGameNews.md" - "InGameNews.md"
steps: steps:
build: build-web:
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: preview-web:
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: deploy-web:
image: debian:latest image: debian:latest
when: when:
event: [push, manual] event: [push, manual]

View file

@ -1,11 +1,11 @@
when: when:
path: "web/**" path: "web/**"
steps: steps:
build: build-web:
image: ruby:latest image: ruby:latest
commands: commands:
- cd web && bundle && bundle exec jekyll build - cd web && bundle && bundle exec jekyll build
preview: preview-web:
image: woodpeckerci/plugin-surge-preview image: woodpeckerci/plugin-surge-preview
when: when:
event: pull_request event: pull_request
@ -17,7 +17,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: deploy-web:
image: debian:latest image: debian:latest
when: when:
- event: [push, manual] - event: [push, manual]