forked from RepoMirrors/kami-blue
use travis branch var instead
This commit is contained in:
parent
2743a3479d
commit
b6a450cf86
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
BRANCH="$(git branch 2>/dev/null | grep '^*' | colrm 1 2)"
|
||||
echo "'$BRANCH'"
|
||||
curl -H "Content-Type: application/json" -X POST -d '{"username": "Github Actions", "content": "**Branch:** '$BRANCH'"}' "$WEBHOOK"
|
||||
#BRANCH="$(git branch 2>/dev/null | grep '^*' | colrm 1 2)"
|
||||
#echo "'$BRANCH'"
|
||||
curl -H "Content-Type: application/json" -X POST -d '{"username": "Github Actions", "content": "**Branch:** '$TRAVIS_BRANCH'"}' "$WEBHOOK"
|
||||
|
|
Loading…
Reference in New Issue