diff --git a/gogs-notify.sh b/gogs-notify.sh new file mode 100644 index 0000000..1630ba0 --- /dev/null +++ b/gogs-notify.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +curl -H "Authorization: token $BUILDBOT" -H "Content-Type: application/json" -d "{\"Body\": \"Drone Build Status: ${DRONE_BUILD_STATUS}\n\n${DRONE_BUILD_LINK}\"}" -X POST https://git.openprivacy.ca/api/v1/repos/${DRONE_REPO}/issues/${DRONE_PULL_REQUEST}/comments +