diff --git a/gogs-notify.sh b/gogs-notify.sh index 1630ba0..4da85f8 100644 --- a/gogs-notify.sh +++ b/gogs-notify.sh @@ -1,4 +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 +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