aboutsummaryrefslogtreecommitdiff
path: root/after
diff options
context:
space:
mode:
Diffstat (limited to 'after')
-rwxr-xr-xafter9
1 files changed, 3 insertions, 6 deletions
diff --git a/after b/after
index 3364aa6..0d43347 100755
--- a/after
+++ b/after
@@ -1,12 +1,9 @@
#!/bin/sh
set -eu
-message="$JOB #$RUN: $RESULT
-https://ci.tojo.tokyo/jobs/$JOB/$RUN"
-
if [ "$RESULT" != "$LAST_RESULT" ]; then
message="@tojoqk@mastodon.tojo.tokyo
-$message"
+$JOB #$RUN: $RESULT
+https://ci.tojo.tokyo/jobs/$JOB/$RUN"
+ toot post -v unlisted "$message"
fi
-
-toot post -v unlisted "$message"