aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xafter12
1 files changed, 12 insertions, 0 deletions
diff --git a/after b/after
new file mode 100755
index 0000000..363d9e9
--- /dev/null
+++ b/after
@@ -0,0 +1,12 @@
+#!/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"
+fi
+
+toot post -v unlisted "$message"