From fbf9272622be9b895416bec5abd6ada7ecf146f3 Mon Sep 17 00:00:00 2001 From: RamyEB Date: Mon, 8 Jan 2024 15:16:04 +0100 Subject: [PATCH] debug: sync doc github action --- .github/workflows/sync_doc_devportal.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/sync_doc_devportal.yml b/.github/workflows/sync_doc_devportal.yml index e061291e..b455cd09 100644 --- a/.github/workflows/sync_doc_devportal.yml +++ b/.github/workflows/sync_doc_devportal.yml @@ -58,9 +58,8 @@ jobs: # Create Pull Request JSON_PAYLOAD="{\"title\":\"${PR_TITLE}\",\"head\":\"${PR_BRANCH_NAME}\",\"base\":\"${TARGET_BRANCH}\"}" - echo "JSON payload: $JSON_PAYLOAD" - PR_RESPONSE=$(curl -X POST -H "Authorization: token ${DEVELOPER_PORTAL_CI_TOKEN}" -d '{"title":"${PR_TITLE}","head":"${PR_BRANCH_NAME}","base":"main"}' ${TARGET_PR_API_URL}) + PR_RESPONSE=$(curl -X POST -H "Authorization: token ${DEVELOPER_PORTAL_CI_TOKEN}" -d "$JSON_PAYLOAD" ${TARGET_PR_API_URL}) echo "PR_RESPONSE : $PR_RESPONSE " PR_URL=$(echo $PR_RESPONSE | jq -r '.url')