From 08426adcb0a61f8579e64b69f715a11f51b3a10f Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Wed, 4 Jul 2018 13:17:22 -0500 Subject: [PATCH] revert and add -v --- gogs-notify.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gogs-notify.sh b/gogs-notify.sh index 4da85f8..d8ddab3 100644 --- a/gogs-notify.sh +++ b/gogs-notify.sh @@ -1,4 +1,4 @@ #!/bin/sh -curl -H "Authorization: token $1" -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 +curl -v -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