mirror of
https://github.com/pret/pokeplatinum.git
synced 2024-11-27 08:00:25 +00:00
Point OK webhook at out-of-tree build
This commit is contained in:
parent
bbb7e8e784
commit
7b3ca58a90
2
.github/calcrom/webhook.sh
vendored
2
.github/calcrom/webhook.sh
vendored
@ -10,5 +10,5 @@ fi
|
||||
url="$1"
|
||||
build_name="platinum.us"
|
||||
|
||||
output=$(${GITHUB_WORKSPACE}/.github/calcrom/calcrom.py ${GITHUB_WORKSPACE}/build | sed -E ':a;N;$!ba;s/\r{0,1}\n/\\n/g')
|
||||
output=$(${GITHUB_WORKSPACE}/.github/calcrom/calcrom.py /var/tmp/pokeplatinum | sed -E ':a;N;$!ba;s/\r{0,1}\n/\\n/g')
|
||||
curl -d "{\"username\": \"$CALCROM_DISCORD_WEBHOOK_USERNAME\", \"avatar_url\": \"$CALCROM_DISCORD_WEBHOOK_AVATAR_URL\", \"content\":\"\`\`\`$build_name progress:\\n$output\`\`\`\"}" -H "Content-Type: application/json" -X POST $url
|
||||
|
Loading…
Reference in New Issue
Block a user