diff options
author | Masaya Tojo <masaya@tojo.tokyo> | 2021-09-14 13:22:32 +0900 |
---|---|---|
committer | Masaya Tojo <masaya@tojo.tokyo> | 2021-09-14 13:22:32 +0900 |
commit | a2345f8b08ccf6d76038545fde207ab7e2c115f8 (patch) | |
tree | 9bc3d3ced0ac2ba816afc0a9024343e8579c0527 /after | |
parent | 6037427388adda47b3cae210324ce7340a97065d (diff) |
Add after job.
Diffstat (limited to 'after')
-rwxr-xr-x | after | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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" |