0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-25 07:32:51 +01:00
gitea/docs
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
..
content Fix URL In Gitea Actions Badge Docs (#31191) (#31198) 2024-05-31 21:08:04 +08:00
static Fix doc img path in profile readme (#28994) 2024-01-31 21:32:17 +08:00
.gitignore Support Issue forms and PR forms (#20987) 2022-09-02 15:58:49 +08:00
LICENSE Import docs into main repository (#2874) 2017-11-26 23:44:32 +02:00
README.md Update demo site location from try.gitea.io -> demo.gitea.com (#31054) (#31146) 2024-05-29 01:05:07 +00:00
README_ZH.md Update demo site location from try.gitea.io -> demo.gitea.com (#31054) (#31146) 2024-05-29 01:05:07 +00:00

Gitea: Docs

These docs are ingested by our docs repo.

Authors

License

This project is under the Apache-2.0 License. See the LICENSE file for the full license text.

Copyright (c) 2016 The Gitea Authors