forked from RepoMirrors/kami-blue
try to get branch to work again
This commit is contained in:
parent
c4496e4ff6
commit
441470ace9
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
BRANCH="$(git symbolic-ref -q --short HEAD)"
|
||||
BRANCH="$(git branch 2>/dev/null | grep '^*' | colrm 1 2)"
|
||||
curl -H "Content-Type: application/json" -X POST -d '{"username": "Github Actions", "content": "**Branch:** `'$BRANCH'`"}' "$WEBHOOK"
|
||||
|
|
Loading…
Reference in New Issue