prepare v1.1.4
[awesomized/libmemcached] / .github / notify-gitter.sh
old mode 100644 (file)
new mode 100755 (executable)
index 0d66504..036e932
@@ -1,6 +1,4 @@
 #!/usr/bin/env bash
-GITTER=$1
-
 REPO=${GITHUB_REPOSITORY}
 
 REF=$(basename ${GITHUB_REF})
@@ -9,8 +7,8 @@ REF_URL=https://github.com/${REPO}/commits/${REF}
 BUILD_URL=https://github.com/${REPO}/actions/runs/${GITHUB_RUN_ID}
 BUILD_ENV=${ImageOS}/${CC:-${CC_VND}-${CC_VER}}
 
-case "$2" in
-1|true)
+case "$1" in
+1|true|success)
        level=info
        status=success
        ;;