Hello.
I want to use gitlab api to remove file from git called from pipeline:
- curl --request DELETE --header ‘PRIVATE-TOKEN: TOKEN_HERE’ --header "Content-Type: “application/json” --data ‘{“branch”: “master”, “commit_message”: “delete file”}’ “https://gitllab/data-/tree/master/${exported_before_scripts_variable}/{{ global_variable }}”
Git highlights a “data” section as incorrect. What can i do to fix the issue?
Thanks