chore(ci): provide correct git branch on http slab call

This commit is contained in:
David Testé
2023-03-16 10:45:59 +01:00
parent 6f392c9435
commit fdd39f363f

View File

@@ -42,7 +42,7 @@ jobs:
shell: bash
run: |
GIT_SHA="$(git --no-pager show -s --format="%H" origin/${{ env.GIT_REF }})"
echo -n '{"command": "compiler-cpu-build", "git_ref": "test-with-david", "sha":"'${GIT_SHA}'"}' > command.json
echo -n '{"command": "compiler-cpu-build", "git_ref": "${{ env.GIT_REF }}", "sha":"'${GIT_SHA}'"}' > command.json
cat command.json
SIGNATURE="$(slab/scripts/hmac_calculator.sh command.json '${{ secrets.JOB_SECRET }}')"
curl -v -k \