fix(git-commit-signing): disable curl stderr output (#190)

pull/193/head
Phorcys 1 year ago committed by GitHub
parent d8fa7c959f
commit de0813f37f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -21,7 +21,8 @@ echo "Downloading SSH key"
ssh_key=$(curl --request GET \ ssh_key=$(curl --request GET \
--url "${CODER_AGENT_URL}api/v2/workspaceagents/me/gitsshkey" \ --url "${CODER_AGENT_URL}api/v2/workspaceagents/me/gitsshkey" \
--header "Coder-Session-Token: ${CODER_AGENT_TOKEN}") --header "Coder-Session-Token: ${CODER_AGENT_TOKEN}" \
--silent --show-error)
jq --raw-output ".public_key" > ~/.ssh/git-commit-signing/coder.pub << EOF jq --raw-output ".public_key" > ~/.ssh/git-commit-signing/coder.pub << EOF
$ssh_key $ssh_key

Loading…
Cancel
Save