Logo
Explore Gists Help
Sign In
Gitea-John71/Gitea
2
0
Fork 0
You've already forked Gitea
mirror of https://github.com/go-gitea/gitea.git synced 2026-06-28 07:40:40 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
a5a9885f72c0c5be35ff7137cc2e2a60d8d11557
Gitea/docs/content/usage/actions
History
TheBrokenRail 972f807ee7 Fix URL In Gitea Actions Badge Docs (#31191)
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
2024-05-31 19:41:44 +08:00
..
act-runner.en-us.md
…
act-runner.zh-cn.md
…
badge.en-us.md
…
comparison.en-us.md
…
comparison.zh-cn.md
…
design.en-us.md
…
design.zh-cn.md
…
faq.en-us.md
…
faq.zh-cn.md
…
overview.en-us.md
…
overview.zh-cn.md
…
quickstart.en-us.md
…
quickstart.zh-cn.md
…
secrets.en-us.md
…
secrets.zh-cn.md
…
variables.en-us.md
…
variables.zh-cn.md
…
Powered by Gitea Version: 1.25.5 Page: 3341ms Template: 154ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API Gists