aboutsummaryrefslogtreecommitdiff
path: root/after
diff options
context:
space:
mode:
authorMasaya Tojo <masaya@tojo.tokyo>2021-09-14 13:37:58 +0900
committerMasaya Tojo <masaya@tojo.tokyo>2021-09-14 13:37:58 +0900
commitc7a1cfeb5b7e28b26fa73ae1c27fa517040abe04 (patch)
tree5857dab37524c4ae9de9e64f19ad9bd5893d6c9e /after
parent0e5845c8db6706bc14c296a59b84335fc785d5a3 (diff)
after: Update.
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"