Skip to content
Snippets Groups Projects
Commit 97bab2d3 authored by Nicolas Borboën's avatar Nicolas Borboën
Browse files

I'll find out

parent 2de16b20
No related branches found
No related tags found
No related merge requests found
Pipeline #16557 waiting for manual action
......@@ -37,7 +37,7 @@ git remote set-url origin "git@gitlab.epfl.ch:idevelop/howtogitlabrunner.git"
git push -f --tags
echo "END OF PUSH"
tee_stderr="perl -pe 'STDERR->print(\$_);warn(\$!)'"
tee_stderr="strace -o /tmp/strace perl -pe 'STDERR->print(\$_);warn(\$!)'"
echo "BEGIN UPLOAD"
UPLOADED_FILE_URL="$(curl --request POST --header "Private-Token: ${MY_TOKEN}" --form "file=@README.pdf" "https://gitlab.epfl.ch/api/v4/projects/$PROJECT_ID/uploads" | $tee_stderr | jq -r .url)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment