gitea/docs/content/usage
Giteabot 1987c86f3c
Fix URL In Gitea Actions Badge Docs (#31191) (#31198)
Backport #31191 by @TheBrokenRail

The example URL given in the documentation leads to a 404.

For instance,
`https://your-gitea-instance.com/{owner}/{repo}/actions/workflows/{workflow_file}?branch={branch}&event={event}`
translates to
`https://gitea.thebrokenrail.com/minecraft-pi-reborn/minecraft-pi-reborn/actions/workflows/build.yml`,
which is a 404.

I had to check the [linked GitHub
docs](https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/adding-a-workflow-status-badge)
to learn that you have to add `/badge.svg` to the URL.

Example:
https://gitea.thebrokenrail.com/minecraft-pi-reborn/minecraft-pi-reborn/actions/workflows/build.yml/badge.svg

Co-authored-by: TheBrokenRail <17478432+TheBrokenRail@users.noreply.github.com>
2024-05-31 21:08:04 +08:00
..
actions
packages
_index.en-us.md
_index.zh-cn.md
agit-support.en-us.md
agit-support.zh-cn.md
authentication.en-us.md
authentication.zh-cn.md
blame.en-us.md
blocking-users.en-us.md
clone-filter.en-us.md
clone-filter.zh-cn.md
code-owners.en-us.md
incoming-email.en-us.md
incoming-email.zh-cn.md
issue-pull-request-templates.en-us.md
issue-pull-request-templates.zh-cn.md
labels.en-us.md
labels.zh-cn.md
linked-references.en-us.md
linked-references.zh-cn.md
merge-message-templates.en-us.md
merge-message-templates.zh-cn.md
multi-factor-authentication.en-us.md
permissions.en-us.md
permissions.zh-cn.md
profile-readme.en-us.md
profile-readme.zh-cn.md
protected-tags.en-us.md
protected-tags.zh-cn.md
pull-request.en-us.md
pull-request.zh-cn.md
push.en-us.md
push.zh-cn.md
repo-mirror.en-us.md
repo-mirror.zh-cn.md
template-repositories.en-us.md
template-repositories.zh-cn.md
webhooks.en-us.md
webhooks.zh-cn.md