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

Got it, I think

parent 97bab2d3
No related branches found
No related tags found
No related merge requests found
Pipeline #16558 waiting for manual action
...@@ -37,7 +37,7 @@ git remote set-url origin "git@gitlab.epfl.ch:idevelop/howtogitlabrunner.git" ...@@ -37,7 +37,7 @@ git remote set-url origin "git@gitlab.epfl.ch:idevelop/howtogitlabrunner.git"
git push -f --tags git push -f --tags
echo "END OF PUSH" echo "END OF PUSH"
tee_stderr="strace -o /tmp/strace perl -pe 'STDERR->print(\$_);warn(\$!)'" tee_stderr="strace -o /tmp/strace perl -pe STDERR->print(\$_);warn(\$!)"
echo "BEGIN UPLOAD" 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)" 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