summaryrefslogtreecommitdiff
path: root/.github/calcrom
diff options
context:
space:
mode:
authorred031000 <rubenru09@aol.com>2021-03-23 22:43:11 +0000
committerred031000 <rubenru09@aol.com>2021-03-23 22:43:11 +0000
commit963908bc38d5bddeee08acf77619ee23c2680482 (patch)
tree3a3e6fa309f8e84362f1d36c6eaeb63f26a56be9 /.github/calcrom
parent41ed9de2d4c81986cce976f2d93923b70101ac3a (diff)
more scrcmd, struct changes
Diffstat (limited to '.github/calcrom')
-rw-r--r--.github/calcrom/.gitattributes1
-rw-r--r--.github/calcrom/webhook.sh1
2 files changed, 1 insertions, 1 deletions
diff --git a/.github/calcrom/.gitattributes b/.github/calcrom/.gitattributes
new file mode 100644
index 00000000..70f1c267
--- /dev/null
+++ b/.github/calcrom/.gitattributes
@@ -0,0 +1 @@
+webhook.sh text eol=lf
diff --git a/.github/calcrom/webhook.sh b/.github/calcrom/webhook.sh
index 279f795d..c15e9b50 100644
--- a/.github/calcrom/webhook.sh
+++ b/.github/calcrom/webhook.sh
@@ -16,4 +16,3 @@ fi
make -C ${GITHUB_WORKSPACE}/.github/calcrom
output=$(${GITHUB_WORKSPACE}/.github/calcrom/calcrom ${GITHUB_WORKSPACE} | 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
-popd