add debugging

This commit is contained in:
Bella 2020-03-10 11:43:56 -04:00
parent 0b358b6c70
commit 2743a3479d
No known key found for this signature in database
GPG Key ID: 03B01AC937D1C89C
1 changed files with 1 additions and 0 deletions

View File

@ -1,3 +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"