mirror of
https://github.com/YunoHost/yunorunner.git
synced 2024-09-03 20:05:52 +02:00
commit
5fac6bd515
1 changed files with 2 additions and 1 deletions
3
run.py
3
run.py
|
@ -1169,8 +1169,9 @@ async def github(request):
|
||||||
job_url = app.config.BASE_URL + app.url_for("html_job", job_id=job.id)
|
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)
|
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}"
|
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})"
|
body = f"{catchphrase}\n[]({job_url})\n[]({job_url})"
|
||||||
api_logger.info(body)
|
api_logger.info(body)
|
||||||
await comment(body)
|
await comment(body)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue