aboutsummaryrefslogtreecommitdiff
path: root/aux/ci/report.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-06-16 23:00:20 -0300
committerEuAndreh <eu@euandre.org>2021-06-16 23:00:20 -0300
commit993e0e15eb9691bc73e502e0003fa799650862e3 (patch)
treefbba2173783f55445ddd7c7e24f652db6936016d /aux/ci/report.sh
parentREADME.md: Highlight link as anchor instead of text (diff)
downloadpackage-repository-993e0e15eb9691bc73e502e0003fa799650862e3.tar.gz
package-repository-993e0e15eb9691bc73e502e0003fa799650862e3.tar.xz
aux/: Update
Diffstat (limited to '')
-rwxr-xr-xaux/ci/report.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/aux/ci/report.sh b/aux/ci/report.sh
index 65d3335..2b40f3e 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,6 +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</title>
<style>
pre {
@@ -36,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