Fix: Wrong var name
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Nicolai Ort 2023-05-12 08:36:49 +02:00
parent b91b9748b1
commit 8a9083d196
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F

View File

@ -25,7 +25,7 @@ fi
RES=$(curl --request POST \
--url "https://$PLUGIN_DOMAIN/api/v1/repos/$DRONE_REPO/pulls" \
--header "Content-Type: application/json" \
--header "Authorization: token $APIKEY" \
--header "Authorization: token $PLUGIN_APIKEY" \
-F \
--data "{
\"title\": \"$PLUGIN_TITLE\",
@ -44,7 +44,7 @@ if [ "${PLUGIN_MERGE:-false}" = true ]; then
curl --request POST \
--url "https://$PLUGIN_DOMAIN/api/v1/repos/$DRONE_REPO/pulls/$ID/merge" \
--header 'Content-Type: application/json' \
--header "Authorization: token $APIKEY" \
--header "Authorization: token $PLUGIN_APIKEY" \
-F \
--data "{
\"do\": \"merge\",