update ci
[awesomized/libmemcached] / .github / notify-gitter.sh
index edfe9995d9f5cd13e1ebe0712574962801a0826b..036e932c3a41676d44898ec051d1f1c403e13d42 100755 (executable)
@@ -1,6 +1,4 @@
 #!/usr/bin/env bash
-GITTER=$1
-
 REPO=${GITHUB_REPOSITORY}
 
 REF=$(basename ${GITHUB_REF})
@@ -9,7 +7,7 @@ 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
+case "$1" in
 1|true|success)
        level=info
        status=success