try to get branch to work again

This commit is contained in:
Bella 2020-03-10 11:39:08 -04:00
parent c4496e4ff6
commit 441470ace9
No known key found for this signature in database
GPG Key ID: 03B01AC937D1C89C
1 changed files with 1 additions and 1 deletions

View File

@ -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"