From a2345f8b08ccf6d76038545fde207ab7e2c115f8 Mon Sep 17 00:00:00 2001 From: Masaya Tojo Date: Tue, 14 Sep 2021 13:22:32 +0900 Subject: Add after job. --- after | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 after (limited to 'after') 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" -- cgit v1.2.3