Using gitlab CI yaml with multiline bash command (e.g curl with a json header)
Sometimes I struggle at the most stupid places.. But how can I issue a multiline curl from gitlab ci's yaml file? I tried the following: curl --request POST --header 'Content-Type: application/json' --header "JOB-TOKEN: $CI_JOB_TOKEN" --data "{ "name": "$CI_PROJECT_NAME", }" "$CI_API_V4_URL/projects/$CI_PROJECT_ID/releases"…