aboutsummaryrefslogtreecommitdiff
path: root/aux/ci/report.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-06-13 20:12:34 -0300
committerEuAndreh <eu@euandre.org>2021-06-13 20:12:34 -0300
commit7699fff970f84d0a4468f7f4d1ae86f4823ef0df (patch)
treea676b1f057cf6d370e1cb98628faa2a7e20f2ff2 /aux/ci/report.sh
parentTODOs.md: Mark #task-ffd35082-5af0-814e-4270-9305f57aa416 as DONE (diff)
downloadremembering-7699fff970f84d0a4468f7f4d1ae86f4823ef0df.tar.gz
remembering-7699fff970f84d0a4468f7f4d1ae86f4823ef0df.tar.xz
aux/ci/report.sh: Add link to homepage on generated HTML
Diffstat (limited to 'aux/ci/report.sh')
-rwxr-xr-xaux/ci/report.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/aux/ci/report.sh b/aux/ci/report.sh
index 8a4c74f..1a13e85 100755
--- a/aux/ci/report.sh
+++ b/aux/ci/report.sh
@@ -1,7 +1,8 @@
#!/bin/sh
set -eu
-PROJECT_UC="$1"
+PROJECT="$1"
+TLD="$(cat aux/tld.txt)"
PASS='✅'
FAIL='❌'
@@ -27,7 +28,7 @@ cat <<EOF >> "$OUT"
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
- <title>CI logs for $PROJECT_UC</title>
+ <title>CI logs for $PROJECT</title>
<style>
pre {
@@ -37,7 +38,7 @@ cat <<EOF >> "$OUT"
</head>
<body>
<h1>
- CI logs for $PROJECT_UC
+ CI logs for <a href="https://$TLD/$PROJECT/>$PROJECT</a>
</h1>
<ul>
EOF