curl typo
All checks were successful
continuous-integration/drone/push Build is passing

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

View File

@ -26,7 +26,7 @@ RES=$(curl --request POST \
--url "https://$PLUGIN_DOMAIN/api/v1/repos/$DRONE_REPO/pulls" \
--header "Content-Type: application/json" \
--header "Authorization: token $PLUGIN_APIKEY" \
-F \
-f \
--data "{
\"title\": \"$PLUGIN_TITLE\",
\"body\": \"Automatic merge of $PLUGIN_SOURCE into $PLUGIN_TARGET\",
@ -45,7 +45,7 @@ if [ "${PLUGIN_MERGE:-false}" = true ]; then
--url "https://$PLUGIN_DOMAIN/api/v1/repos/$DRONE_REPO/pulls/$ID/merge" \
--header 'Content-Type: application/json' \
--header "Authorization: token $PLUGIN_APIKEY" \
-F \
-f \
--data "{
\"do\": \"merge\",
\"delete_branch_after_merge\": $PLUGIN_DELETE_SOURCE