aboutsummaryrefslogtreecommitdiff
path: root/aux/ci/report.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-03-06 02:29:37 -0300
committerEuAndreh <eu@euandre.org>2022-03-06 02:29:37 -0300
commit8f6060c5fe07c475cd53c367ab791251168ab460 (patch)
tree44ba6bfa1a0e3debbb70944839c3a682d3ee7c53 /aux/ci/report.sh
parentaux/: Update (diff)
downloadserver-8f6060c5fe07c475cd53c367ab791251168ab460.tar.gz
server-8f6060c5fe07c475cd53c367ab791251168ab460.tar.xz
aux/: Update
Diffstat (limited to '')
-rwxr-xr-xaux/ci/report.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/aux/ci/report.sh b/aux/ci/report.sh
index 6f18f0f..e900e26 100755
--- a/aux/ci/report.sh
+++ b/aux/ci/report.sh
@@ -45,7 +45,8 @@ for c in $(git notes list | cut -d\ -f2); do
> "$OUTDIR/ci-logs/$FILENAME"
done
-cat <<EOF >> "$OUT"
+{
+ cat <<EOF
<!DOCTYPE html>
<html lang="en">
<head>
@@ -55,6 +56,12 @@ cat <<EOF >> "$OUT"
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
<title>$PROJECT - CI logs</title>
+EOF
+
+ cat aux/workflow/style.css
+
+ cat <<EOF
+
<style>
pre {
display: inline;
@@ -72,6 +79,7 @@ cat <<EOF >> "$OUT"
</h1>
<ol>
EOF
+} > "$OUT"
for f in $(find "$OUTDIR/ci-data/" -type f | LANG=C.UTF-8 sort -r); do
DATA="$(cat "$f")"