mirror of
https://github.com/YunoHost/yunorunner.git
synced 2024-09-03 20:05:52 +02:00
Add summary_url variable
This commit is contained in:
parent
c4c812581f
commit
646e5d72e1
1 changed files with 1 additions and 0 deletions
1
run.py
1
run.py
|
@ -1169,6 +1169,7 @@ async def github(request):
|
|||
job_url = app.config.BASE_URL + app.url_for("html_job", job_id=job.id)
|
||||
badge_url = app.config.BASE_URL + app.url_for("api_badge_job", job_id=job.id)
|
||||
shield_badge_url = f"https://img.shields.io/endpoint?url={badge_url}"
|
||||
summary_url = app.config.BASE_URL + f"/summary/{job.id}.png"
|
||||
|
||||
body = f"{catchphrase}\n[]({job_url})\n[]({job_url})"
|
||||
api_logger.info(body)
|
||||
|
|
Loading…
Add table
Reference in a new issue