0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-18 17:30:39 +01:00
gitea/docs/content
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
..
administration Remove duplicate ProxyPreserveHost in Apache httpd doc (#31143) (#31147) 2024-05-29 08:54:14 +08:00
contributing Migrate font-family to tailwind (#30118) 2024-03-28 08:31:07 +00:00
development Update demo site location from try.gitea.io -> demo.gitea.com (#31054) (#31146) 2024-05-29 01:05:07 +00:00
help Update demo site location from try.gitea.io -> demo.gitea.com (#31054) (#31146) 2024-05-29 01:05:07 +00:00
installation update mailer example config, remove deprecated HOST (#30267) 2024-04-03 19:16:02 -04:00
usage Fix URL In Gitea Actions Badge Docs (#31191) (#31198) 2024-05-31 21:08:04 +08:00
actions.en-us.md
administration.en-us.md
administration.zh-cn.md
contributing.en-us.md
development.en-us.md
development.zh-cn.md
help.en-us.md
help.zh-cn.md
index.en-us.md Update demo site location from try.gitea.io -> demo.gitea.com (#31054) (#31146) 2024-05-29 01:05:07 +00:00
index.zh-cn.md
installation.en-us.md
installation.zh-cn.md
packages.en-us.md
search.en-us.md
search.nl-nl.md
search.pt-br.md
search.zh-cn.md
usage.en-us.md
usage.zh-cn.md